cleanup unused theme hook

This commit is contained in:
2026-01-02 18:54:16 +00:00
parent 70e995cbd5
commit 39458e4f11

View File

@@ -9,7 +9,6 @@ class Theme
public function __construct()
{
add_action( 'after_setup_theme', [$this, 'DynamicPalette'] );
// add_action( 'init' , [$this, 'BackgroundTints']);
}
public function DynamicPalette()
@@ -33,16 +32,4 @@ class Theme
add_theme_support('editor-color-palette', $palette);
}
}
public function BackgroundTints()
{
register_block_style(
'badegg/article',
[
'name' => 'badegg-colour-tint',
'label' => __('Tint', 'badegg'),
// 'inline_style' =>'.wp-block-image.is-style-badegg-colour-tint { }',
]
);
}
}