post-upload-ui action-hookWP 2.6.0

Fires on the post upload UI screen.

Legacy (pre-3.5.0) media workflow hook.

Usage

add_action( 'post-upload-ui', 'wp_kama_post_upload_ui_action' );

/**
 * Function for `post-upload-ui` action-hook.
 * 
 * @return void
 */
function wp_kama_post_upload_ui_action(){

	// action...
}

Changelog

Since 2.6.0 Introduced.

Where the hook is called

media_upload_form()
post-upload-ui
wp_print_media_templates()
post-upload-ui
wp-admin/includes/media.php 2313
do_action( 'post-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-includes/media-template.php 313
do_action( 'post-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

Where the hook is used in WordPress

Usage not found.