admin_head-$hook_suffix

admin_head-$hook_suffix

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('admin_head-$hook_suffix') is found 2 times:

  • /wp-admin/admin-header.php line 156
     * for the admin page.
     *
     * @since 2.1.0
     */
    do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    
    /**
     * Fires in head section for all admin pages.
     *
     * @since 2.1.0
     */
    
  • /wp-admin/includes/template.php line 2172
    	/** 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}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    
    	/** 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() ) ) );