admin_head_(content_func) action-hook . WP 2.5.0
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, $content_func, refers to the form callback for the media upload type. Possible values include 'media_upload_type_form', 'media_upload_type_url_form', and 'media_upload_library_form'.
Usage
add_action( 'admin_head_(content_func)', 'action_function_name_3696' ); function action_function_name_3696(){ // action... }
Changelog
Since 2.5.0 | Introduced. |
Where the hook is called
admin_head_(content_func)
wp-admin/includes/media.php 585
do_action( "admin_head_{$content_func}" );