cleanup unused theme hook
This commit is contained in:
@@ -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 { }',
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user