From 2eb70c8f54f8c22fe6aef33b0e5d15afd335f73f Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Tue, 29 Aug 2023 15:16:45 +0500 Subject: [PATCH] disable customizer --- functions.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions.php b/functions.php index ebf4821..a0e564a 100644 --- a/functions.php +++ b/functions.php @@ -5,6 +5,4 @@ add_action('init', 'custom_stylesheet'); function custom_stylesheet() { wp_register_style( 'custom-styles', get_template_directory_uri() . '/style.css' ); } -wp_enqueue_style( 'custom-styles' ); - -add_action( 'customize_register', '__return_true' ); +wp_enqueue_style( 'custom-styles' ); \ No newline at end of file