From 7ca0ba6ed2b66174fc84a65e189783d87524adfa Mon Sep 17 00:00:00 2001 From: abuyoyo Date: Tue, 17 May 2022 04:30:45 +0300 Subject: [PATCH] remove all footer scripts functionality --- src/NoticeManager.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/NoticeManager.php b/src/NoticeManager.php index ad54bb4..40fe81d 100644 --- a/src/NoticeManager.php +++ b/src/NoticeManager.php @@ -32,8 +32,6 @@ class NoticeManager{ add_action( 'admin_init' , [ $this , 'register_notice_manager_panel' ] ); } - add_action('admin_print_footer_scripts', [$this,'admin_print_footer_scripts']); - } function admin_enqueues(){ @@ -41,12 +39,6 @@ class NoticeManager{ wp_localize_script( 'notice_manager_panel', 'noticeManager', camelCaseKeys($this->options) ); wp_enqueue_style( 'admin_notices', NOTICE_MANAGER_URL . 'css/admin_notices.css' ); } - - function admin_print_footer_scripts(){ - - // echo ''; - // echo ''; - } function register_notice_manager_panel(){ if ( ! function_exists( 'add_screen_meta_link' ) )