From 39458e4f11ab5d3a85f43d213f639005d66545e8 Mon Sep 17 00:00:00 2001 From: Steve Ross Date: Fri, 2 Jan 2026 18:54:16 +0000 Subject: [PATCH] cleanup unused theme hook --- app/Admin/Theme.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/Admin/Theme.php b/app/Admin/Theme.php index 8d06739..44fe26e 100644 --- a/app/Admin/Theme.php +++ b/app/Admin/Theme.php @@ -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 { }', - ] - ); - } }