admin_head
Это хук WordPress - admin_head. Плагин его просто использует.
Fires in head section for all admin pages.
Usage
add_action( 'admin_head', 'wp_kama_admin_head_action' ); /** * Function for `admin_head` action-hook. * * @return void */ function wp_kama_admin_head_action(){ // action... }
Where the hook is called
woocommerce/includes/admin/class-wc-admin-setup-wizard.php 350
<?php do_action( 'admin_head' ); ?>
Where the hook is used in WooCommerce
woocommerce/includes/admin/class-wc-admin-exporters.php 36
add_action( 'admin_head', array( $this, 'hide_from_menus' ) );
woocommerce/includes/admin/class-wc-admin-importers.php 34
add_action( 'admin_head', array( $this, 'hide_from_menus' ) );
woocommerce/src/Admin/PageController.php 67
add_action( 'admin_head', array( $this, 'remove_app_entry_page_menu_item' ), 20 );
woocommerce/src/Internal/Admin/Coupons.php 58
add_action( 'admin_head', array( $this, 'fix_coupon_menu_highlight' ), 99 );
woocommerce/src/Internal/Admin/Homescreen.php 50
add_action( 'admin_head', array( $this, 'update_link_structure' ), 20 );
woocommerce/src/Internal/Admin/Loader.php 79
add_action( 'admin_head', array( __CLASS__, 'remove_notices' ) );
woocommerce/src/Internal/Admin/Loader.php 80
add_action( 'admin_head', array( __CLASS__, 'smart_app_banner' ) );