Skip to content

Commit 4cbd909

Browse files
committed
change admin hook icon style output to proper hook
1 parent 64c4a2a commit 4cbd909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct() {
4747
add_filter( 'plugin_action_links_' . plugin_basename( OPTML_BASEFILE ), [ $this, 'add_action_links' ] );
4848
add_action( 'admin_menu', [ $this, 'add_dashboard_page' ] );
4949
add_action( 'admin_menu', [ $this, 'add_settings_subpage' ], 99 );
50-
add_action( 'admin_enqueue_scripts', [ $this, 'menu_icon_style' ] );
50+
add_action( 'admin_head', [ $this, 'menu_icon_style' ] );
5151
add_action( 'admin_enqueue_scripts', [ $this, 'enqueue' ], PHP_INT_MIN );
5252
add_action( 'admin_notices', [ $this, 'add_notice' ] );
5353
add_action( 'admin_notices', [ $this, 'add_notice_upgrade' ] );

0 commit comments

Comments
 (0)