WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 249 | ); |
| 250 | ?> |
| 251 | </p> |
| 252 | </div> |
| 253 | <?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?> |
| 254 | <div class="upload-ui"> |
| 255 | <h2 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h2> |
| 256 | <?php |
| 257 | /** This action is documented in wp-admin/includes/media.php */ |
| 258 | do_action( 'upload_ui_over_quota' ); |
| 259 | ?> |
| 260 | </div> |
| 261 | <?php else : ?> |
| 262 | <div class="upload-ui"> |
| 263 | <h2 class="upload-instructions drop-instructions"><?php _e( 'Drop files to upload' ); ?></h2> |
| 264 | <p class="upload-instructions drop-instructions"><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></p> |
| 265 | <button type="button" class="browser button button-hero" aria-labelledby="post-upload-info"><?php _e( 'Select Files' ); ?></button> |
| 266 | </div> |
| 267 | |