pre-html-upload-ui

pre-html-upload-ui

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.1

do_action('pre-html-upload-ui') is found 1 times:

  • /wp-admin/includes/media.php line 2257
    	 * Fires before the upload button in the media upload interface.
    	 *
    	 * @since 2.6.0
    	 */
    	do_action( 'pre-html-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    
    	?>
    	<p id="async-upload-wrap">
    		<label class="screen-reader-text" for="async-upload"><?php _e( 'Upload' ); ?></label>
    		<input type="file" name="async-upload" id="async-upload" />
    		<?php submit_button( __( 'Upload' ), 'primary', 'html-upload', false ); ?>