admin_head хук-событиеWP 2.1.0

Fires in head section for all admin pages.

Использование

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

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

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

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

В файле: /wp-admin/admin-header.php
admin_head
wp-admin/admin-header.php 163
do_action( 'admin_head' );
wp-admin/includes/template.php 2064
do_action( 'admin_head' );
wp-admin/includes/media.php 573
do_action( 'admin_head' );

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

wp-admin/export.php 46
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 44
add_action( 'admin_head', 'network_settings_add_js' );
wp-admin/options-general.php 25
add_action( 'admin_head', 'options_general_add_js' );
wp-admin/options-reading.php 20
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 310
add_action( 'admin_head', 'delete_users_add_js' );
wp-includes/class-wp-admin-bar.php 61
add_action( 'admin_head', 'wp_admin_bar_header' );
wp-includes/default-filters.php 571
add_action( 'admin_head', 'wp_check_widget_editor_deps' );
wp-includes/general-template.php 4657
add_action( 'admin_head', '_thickbox_path_admin_subfolder' );