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.
This hook occurs 2 times in this file.
Line | Code |
---|---|
269 |
|
270 | <?php if ( isset($_GET['apage']) ) { ?> |
271 | <input type="hidden" name="apage" value="<?php echo absint( $_GET['apage'] ); ?>" /> |
272 | <?php } |
273 |
|
274 | if ( 'spam' == $comment_status ) { |
275 | wp_nonce_field('bulk-spam-delete', '_spam_nonce'); ?> |
276 | <input type="submit" name="delete_all_spam" value="<?php _e('Delete All Spam'); ?>" class="button-secondary apply" /> |
277 | <?php } ?> |
278 | <?php do_action('manage_comments_nav', $comment_status); ?> |
279 | </div> |
280 |
|
281 | <br class="clear" /> |
282 |
|
283 | </div> |
284 |
|
285 | <div class="clear"></div> |
286 |
|
287 | <?php if ( $comments ) { ?> |
Line | Code |
331 | <option value="markspam"><?php _e('Mark as Spam'); ?></option> |
332 | <?php endif; ?> |
333 | <option value="delete"><?php _e('Delete'); ?></option> |
334 | </select> |
335 | <input type="submit" name="doaction2" id="doaction2" value="<?php _e('Apply'); ?>" class="button-secondary apply" /> |
336 |
|
337 | <?php if ( 'spam' == $comment_status ) { ?> |
338 | <input type="submit" name="delete_all_spam2" value="<?php _e('Delete All Spam'); ?>" class="button-secondary apply" /> |
339 | <?php } ?> |
340 | <?php do_action('manage_comments_nav', $comment_status); ?> |
341 | </div> |
342 |
|
343 | <br class="clear" /> |
344 | </div> |
345 |
|
346 | </form> |
347 |
|
348 | <form id="get-extra-comments" method="post" action="" class="add:the-extra-comment-list:" style="display: none;"> |
349 | <input type="hidden" name="s" value="<?php echo $search; ?>" /> |