upload_ui_over_quota

upload_ui_over_quota

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

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('upload_ui_over_quota') is found 2 times:

  • /wp-admin/includes/media.php line 2141
    		 * Fires when an upload will exceed the defined upload space quota for a network site.
    		 *
    		 * @since 3.5.0
    		 */
    		do_action( 'upload_ui_over_quota' );
    		return;
    	}
    
    	/**
    	 * Fires just before the legacy (pre-3.5.0) upload interface is loaded.
    	 *
    
  • /wp-includes/media-template.php line 259
    			<div class="upload-ui">
    				<h2 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h2>
    				<?php
    				/** This action is documented in wp-admin/includes/media.php */
    				do_action( 'upload_ui_over_quota' );
    				?>
    			</div>
    		<?php else : ?>
    			<div class="upload-ui">
    				<h2 class="upload-instructions drop-instructions"><?php _e( 'Drop files to upload' ); ?></h2>
    				<p class="upload-instructions drop-instructions"><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></p>