From 9180d82287e009e136be2094164b658e53c66133 Mon Sep 17 00:00:00 2001 From: Nilambar Sharma Date: Wed, 3 Jan 2024 12:02:43 +0545 Subject: [PATCH] Add styling for checks message --- includes/Admin/Admin_Page.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/includes/Admin/Admin_Page.php b/includes/Admin/Admin_Page.php index ba790c737..f408da4d7 100644 --- a/includes/Admin/Admin_Page.php +++ b/includes/Admin/Admin_Page.php @@ -88,6 +88,7 @@ public function add_and_initialize_page() { */ public function initialize_page() { add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); + add_action( 'admin_head', array( $this, 'admin_head' ) ); add_action( 'admin_footer', array( $this, 'admin_footer' ) ); } @@ -274,6 +275,32 @@ public function admin_footer() { ); } + /** + * Adds the check's styles. + * + * @since n.e.x.t + */ + public function admin_head() { + echo ''; + } + /** * Gets the hook suffix under which the admin page is added. *