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