Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: upload_ui_over_quota

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
239                          );
240                     ?>
241                     </p>
242                </div>
243           <?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?>
244                <div class="upload-ui">
245                     <h2 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h2>
246                     <?php
247                     /** This action is documented in wp-admin/includes/media.php */
248                     do_action( 'upload_ui_over_quota' );
249                     ?>
250                </div>
251           <?php else : ?>
252                <div class="upload-ui">
253                     <h2 class="upload-instructions drop-instructions"><?php _e( 'Drop files to upload' ); ?></h2>
254                     <p class="upload-instructions drop-instructions"><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></p>
255                     <button type="button" class="browser button button-hero" aria-labelledby="post-upload-info"><?php _e( 'Select Files' ); ?></button>
256                </div>
257