pre-upload-ui

pre-upload-ui

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

See hook in core

Displaying hooks found in version: wordpress-6.1.1

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

  • /wp-admin/includes/media.php line 2139
    	 * Fires just before the legacy (pre-3.5.0) upload interface is loaded.
    	 *
    	 * @since 2.6.0
    	 */
    	do_action( 'pre-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    
    	$post_params = array(
    		'post_id'  => $post_id,
    		'_wpnonce' => wp_create_nonce( 'media-form' ),
    		'type'     => $_type,
    		'tab'      => $_tab,
    
  • /wp-includes/media-template.php line 263