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 |
---|---|
245 | ); |
246 | ?> |
247 | </p> |
248 | </div> |
249 | <?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?> |
250 | <div class="upload-ui"> |
251 | <h2 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h2> |
252 | <?php |
253 | /** This action is documented in wp-admin/includes/media.php */ |
254 | do_action( 'upload_ui_over_quota' ); |
255 | ?> |
256 | </div> |
257 | <?php else : ?> |
258 | <div class="upload-ui"> |
259 | <h2 class="upload-instructions drop-instructions"><?php _e( 'Drop files to upload' ); ?></h2> |
260 | <p class="upload-instructions drop-instructions"><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></p> |
261 | <button type="button" class="browser button button-hero"><?php _e( 'Select Files' ); ?></button> |
262 | </div> |
263 |
|