WordPress at a glance
action is not described

admin_head action-hook . WP 2.1.0

Fires in head section for all admin pages.

Usage

add_action( 'admin_head', 'action_function_name_5143' );
function action_function_name_5143(){
	// action...
}

Список изменений

С версии 2.1.0 Введена.

Где вызывается хук

В файле: /wp-admin/admin-header.php
admin_head
wp-admin/admin-header.php 147
do_action( 'admin_head' );
wp-admin/includes/template.php 2049
do_action( 'admin_head' );
wp-admin/includes/media.php 569
do_action( 'admin_head' );

Где используется хук в ядре WP

wp-admin/export.php 44
add_action( 'admin_head', 'export_add_js' );
wp-admin/includes/admin-filters.php 44
add_action( 'admin_head', 'wp_admin_canonical_url' );
wp-admin/includes/admin-filters.php 45
add_action( 'admin_head', 'wp_color_scheme_settings' );
wp-admin/includes/admin-filters.php 46
add_action( 'admin_head', 'wp_site_icon' );
wp-admin/includes/admin-filters.php 47
add_action( 'admin_head', 'wp_admin_viewport_meta' );
wp-admin/network/settings.php 43
add_action( 'admin_head', 'network_settings_add_js' );
wp-admin/options-general.php 24
add_action( 'admin_head', 'options_general_add_js' );
wp-admin/options-reading.php 19
add_action( 'admin_head', 'options_reading_add_js' );
wp-admin/upload.php 29
remove_action( 'admin_head', 'wp_admin_canonical_url' );
wp-admin/users.php 264
add_action( 'admin_head', 'delete_users_add_js' );
wp-includes/class-wp-admin-bar.php 56
add_action( 'admin_head', 'wp_admin_bar_header' );
wp-includes/general-template.php 4636
add_action( 'admin_head', '_thickbox_path_admin_subfolder' );