post-html-upload-ui
Fires after the upload button in the media upload interface.
Usage
add_action( 'post-html-upload-ui', 'wp_kama_post_html_upload_ui_action' );
/**
* Function for `post-html-upload-ui` action-hook.
*
* @return void
*/
function wp_kama_post_html_upload_ui_action(){
// action...
}Changelog
| Since 2.6.0 | Introduced. |
Where the hook is called
post-html-upload-ui
wp-admin/includes/media.php 2318
do_action( 'post-html-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
Where the hook is used in WordPress
wp-admin/includes/admin-filters.php 28
add_action( 'post-html-upload-ui', 'media_upload_html_bypass' );