admin_head
Fires in head section for all admin pages.
Description
Parameters (1)
- 0. $monsterinsights_menu_icon_css (string) =>
'monsterinsights_menu_icon_css'
- The monsterinsights menu icon css.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'admin_head', $monsterinsights_menu_icon_css );
- The following example is for adding a hook callback.
- // define the admin_head callback
- function action_admin_head( $monsterinsights_menu_icon_css ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'admin_head', 'action_admin_head', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'admin_head', 'action_admin_head', 10, 1 );
Defined (3)
The action is defined in the following location(s).
- /includes/admin/admin.php
- add_action( 'admin_head', 'monsterinsights_menu_icon_css' );
- /includes/admin/tracking.php
- add_action( 'admin_head', array( $this, 'check_for_optin' ) );
- add_action( 'admin_head', array( $this, 'check_for_optout' ) );