From 27943b0b4efdd6b8c2e012a7940da4d13c1cdb8d Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Tue, 21 May 2024 16:04:04 +0500 Subject: [PATCH] strip some default wp css variables --- functions.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 functions.php diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..adf114a --- /dev/null +++ b/functions.php @@ -0,0 +1,18 @@ + 2, + 'settings' => array( + 'color' => array( + 'palette' => array(), + 'gradient' => array(), + ) + ), + ); + return $theme_json->update_with( $new_data ); +} +add_filter( 'wp_theme_json_data_default', 'custom_wp_theme_json_default' );