wphooks.info - admin_head

admin_head

(trunk - 5.1-alpha-44286)

The hook occurs in the following 3 files

wp-admin/admin-header.php:
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
 *
 * @since 2.1.0
 */
do_action( "admin_head-{$hook_suffix}" );

/**
 * Fires in head section for all admin pages.
 *
 * @since 2.1.0
 */
do_action( 'admin_head' );

if ( get_user_setting( 'mfold' ) == 'f' ) {
	$admin_body_class .= ' folded';
}

if ( ! get_user_setting( 'unfold' ) ) {
	$admin_body_class .= ' auto-fold';
}
wp-admin/includes/media.php:
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
	/**
	 * Fires when scripts enqueued for the admin header for the legacy (pre-3.5.0)
	 * media upload popup are printed.
	 *
	 * @since 2.9.0
	 */
	do_action( 'admin_head-media-upload-popup' );

	/** This action is documented in wp-admin/admin-header.php */
	do_action( 'admin_head' );

	if ( is_string( $content_func ) ) {
		/**
		 * Fires in the admin header for each specific form tab in the legacy
		 * (pre-3.5.0) media upload popup.
		 *
		 * The dynamic portion of the hook, `$content_func`, refers to the form
		 * callback for the media upload type. Possible values include
		 * 'media_upload_type_form', 'media_upload_type_url_form', and
wp-admin/includes/template.php:
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
	/** This action is documented in wp-admin/admin-header.php */
	do_action( "admin_print_scripts-$hook_suffix" );

	/** This action is documented in wp-admin/admin-header.php */
	do_action( 'admin_print_scripts' );

	/** This action is documented in wp-admin/admin-header.php */
	do_action( "admin_head-$hook_suffix" );

	/** This action is documented in wp-admin/admin-header.php */
	do_action( 'admin_head' );

	$admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_user_locale() ) ) );

	if ( is_rtl() ) {
		$admin_body_class .= ' rtl';
	}

	?>
</head>