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

Line Code
165 <div class="alignleft">
166 <?php if ( 'approved' != $comment_status ): ?>
167 <input type="submit" value="<?php _e('Approve'); ?>" name="approveit" class="button-secondary" />
168 <?php endif; ?>
169 <input type="submit" value="<?php _e('Mark as Spam'); ?>" name="spamit" class="button-secondary" />
170 <?php if ( 'moderated' != $comment_status ): ?>
171 <input type="submit" value="<?php _e('Unapprove'); ?>" name="unapproveit" class="button-secondary" />
172 <?php endif; ?>
173 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
174 <?php do_action('manage_comments_nav', $comment_status); ?>
175 <?php wp_nonce_field('bulk-comments'); ?>
176 </div>
177
178 <br class="clear" />
179
180 </div>
181
182 <br class="clear" />
183 <?php