post-plupload-upload-ui
Fires after the upload interface loads.
Usage
add_action( 'post-plupload-upload-ui', 'wp_kama_post_plupload_upload_ui_action' ); /** * Function for `post-plupload-upload-ui` action-hook. * * @return void */ function wp_kama_post_plupload_upload_ui_action(){ // action... }
Changelog
Since 3.3.0 | Introduced. |
Since 2.6.0 | As 'post-flash-upload-ui' |
Where the hook is called
post-plupload-upload-ui
post-plupload-upload-ui
wp-admin/includes/media.php 2262
do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-includes/media-template.php 280
do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-includes/media-template.php 284
do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
Where the hook is used in WordPress
wp-admin/includes/admin-filters.php 26
add_action( 'post-plupload-upload-ui', 'media_upload_flash_bypass' );
wp-includes/media-template.php 278
if ( 10 === remove_action( 'post-plupload-upload-ui', 'media_upload_flash_bypass' ) ) {
wp-includes/media-template.php 281
add_action( 'post-plupload-upload-ui', 'media_upload_flash_bypass' );