Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: manage_comments_nav

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

This hook occurs 2 times in this file.

Line Code
278      <input type="hidden" name="apage" value="<?php echo esc_attr( absint( $_GET['apage'] ) ); ?>" />
279 <?php }
280
281 if ( 'spam' == $comment_status ) {
282      wp_nonce_field('bulk-spam-delete', '_spam_nonce');
283         if ( current_user_can ('moderate_comments')) { ?>
284           <input type="submit" name="delete_all_spam" value="<?php esc_attr_e('Delete All Spam'); ?>" class="button-secondary apply" />
285 <?php     }
286 } ?>
287 <?php do_action('manage_comments_nav', $comment_status); ?>
288 </div>
289
290 <br class="clear" />
291
292 </div>
293
294 <div class="clear"></div>
295
296 <?php if ( $comments ) { ?>
 
Line Code
340 <option value="markspam"><?php _e('Mark as Spam'); ?></option>
341 <?php endif; ?>
342 <option value="delete"><?php _e('Delete'); ?></option>
343 </select>
344 <input type="submit" name="doaction2" id="doaction2" value="<?php esc_attr_e('Apply'); ?>" class="button-secondary apply" />
345
346 <?php if ( 'spam' == $comment_status ) { ?>
347 <input type="submit" name="delete_all_spam2" value="<?php esc_attr_e('Delete All Spam'); ?>" class="button-secondary apply" />
348 <?php } ?>
349 <?php do_action('manage_comments_nav', $comment_status); ?>
350 </div>
351
352 <br class="clear" />
353 </div>
354
355 </form>
356
357 <form id="get-extra-comments" method="post" action="" class="add:the-extra-comment-list:" style="display: none;">
358      <input type="hidden" name="s" value="<?php echo esc_attr($search); ?>" />