post-plupload-upload-ui

post-plupload-upload-ui

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

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('post-plupload-upload-ui') is found 3 times:

  • /wp-admin/includes/media.php line 2262

    *
    * @since 2.6.0 As ‘post-flash-upload-ui’
    * @since 3.3.0
    */
    do_action( ‘post-plupload-upload-ui’ ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    ?>

  • /wp-includes/media-template.php line 280
    				do_action( 'pre-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    
    				if ( 10 === remove_action( 'post-plupload-upload-ui', 'media_upload_flash_bypass' ) ) {
    					/** This action is documented in wp-admin/includes/media.php */
    					do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    					add_action( 'post-plupload-upload-ui', 'media_upload_flash_bypass' );
    				} else {
    					/** This action is documented in wp-admin/includes/media.php */
    					do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    				}
    
    
  • /wp-includes/media-template.php line 284
    					do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    					add_action( 'post-plupload-upload-ui', 'media_upload_flash_bypass' );
    				} else {
    					/** This action is documented in wp-admin/includes/media.php */
    					do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    				}
    
    				$max_upload_size = wp_max_upload_size();
    				if ( ! $max_upload_size ) {
    					$max_upload_size = 0;
    				}