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.
Usage
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...
}Changelog
| Since 2.5.0 | Introduced. |
Where the hook is called
admin_head_(content_func)
wp-admin/includes/media.php 620
do_action( "admin_head_{$content_func}" );