admin_head

Fires in head section for all admin pages.

Description

add_action( 'admin_head', (string) $thickbox_path_admin_subfolder ); 

Parameters (1)

0. $thickbox_path_admin_subfolder (string) => '_thickbox_path_admin_subfolder'
The thickbox path admin subfolder.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'admin_head', $thickbox_path_admin_subfolder ); 
The following example is for adding a hook callback.
  1. // define the admin_head callback 
  2. function action_admin_head( $thickbox_path_admin_subfolder ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'admin_head', 'action_admin_head', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'admin_head', 'action_admin_head', 10, 1 ); 

Defined (11)

The action is defined in the following location(s).

/wp-includes/general-template.php  
  1. add_action( 'admin_head', '_thickbox_path_admin_subfolder' ); 
/wp-includes/class-wp-admin-bar.php  
  1. add_action( 'admin_head', 'wp_admin_bar_header' ); 
/wp-admin/users.php  
  1. add_action( 'admin_head', 'delete_users_add_js' ); 
/wp-admin/options-reading.php  
  1. add_action('admin_head', 'options_reading_add_js'); 
/wp-admin/options-general.php  
  1. add_action('admin_head', 'options_general_add_js'); 
/wp-admin/network/settings.php  
  1. add_action( 'admin_head', 'network_settings_add_js' ); 
/wp-admin/includes/admin-filters.php  
  1. add_action( 'admin_head', 'wp_admin_canonical_url' ); 
  1. add_action( 'admin_head', 'wp_color_scheme_settings' ); 
  1. add_action( 'admin_head', 'wp_site_icon' ); 
  1. add_action( 'admin_head', '_ipad_meta' ); 
/wp-admin/export.php  
  1. add_action( 'admin_head', 'export_add_js' );