admin_head_(content_func) хук-событие . 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'.
Использование
add_action( 'admin_head_(content_func)', 'action_function_name_2046' ); function action_function_name_2046(){ // action... }
Список изменений
С версии 2.5.0 | Введена. |
Где вызывается хук
admin_head_(content_func)
wp-admin/includes/media.php 587
do_action( "admin_head_{$content_func}" );