admin_print_scripts-media-upload-popup
Fires when admin scripts enqueued for the legacy (pre-3.5.0) media upload popup are printed.
Usage
add_action( 'admin_print_scripts-media-upload-popup', 'wp_kama_admin_print_scripts_media_upload_popup_action' ); /** * Function for `admin_print_scripts-media-upload-popup` action-hook. * * @return void */ function wp_kama_admin_print_scripts_media_upload_popup_action(){ // action... }
Changelog
Since 2.9.0 | Introduced. |
Where the hook is called
admin_print_scripts-media-upload-popup
wp-admin/includes/media.php 577
do_action( 'admin_print_scripts-media-upload-popup' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores