admin_head_(content_func)
Fires in the admin header for each specific form tab in the legacy (pre-3.5.0) media upload popup.
The dynamic portion of the hook name, $content_func, refers to the form callback for the media upload type.
Использование
add_action( 'admin_head_(content_func)', 'wp_kama_admin_head_content_func_action' );
/**
* Function for `admin_head_(content_func)` action-hook.
*
* @return void
*/
function wp_kama_admin_head_content_func_action(){
// action...
}Список изменений
| С версии 2.5.0 | Введена. |
Где вызывается хук
admin_head_(content_func)
wp-admin/includes/media.php 603
do_action( "admin_head_{$content_func}" );