WordPress at a glance
action is not described

admin_head-(hook_suffix) action-hook . WP 2.1.0

Fires in head section for a specific admin page.

The dynamic portion of the hook, $hook_suffix, refers to the hook suffix for the admin page.

Usage

add_action( 'admin_head-(hook_suffix)', 'action_function_name_6031' );
function action_function_name_6031(){
	// action...
}

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

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

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

В файле: /wp-admin/admin-header.php
admin_head-(hook_suffix)
wp-admin/admin-header.php 140
do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-admin/includes/template.php 2046
do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

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

wp-admin/includes/admin-filters.php 76
add_action( 'admin_head-nav-menus.php', '_wp_delete_orphaned_draft_menu_items' );
wp-admin/includes/class-custom-background.php 75
add_action( "admin_head-{$page}", $this->admin_header_callback, 51 );
wp-admin/includes/class-custom-image-header.php 80
add_action( "admin_head-{$page}", array( $this, 'help' ) );
wp-admin/includes/class-custom-image-header.php 81
add_action( "admin_head-{$page}", array( $this, 'take_action' ), 50 );
wp-admin/includes/class-custom-image-header.php 82
add_action( "admin_head-{$page}", array( $this, 'js' ), 50 );
wp-admin/includes/class-custom-image-header.php 84
add_action( "admin_head-{$page}", $this->admin_header_callback, 51 );
wp-includes/widgets/class-wp-widget-custom-html.php 82
add_action( 'admin_head-widgets.php', array( 'WP_Widget_Custom_HTML', 'add_help_text' ) );