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 |
|---|---|
| 53 | <div class="side-info"> |
| 54 | <h5><?php _e('Related') ?></h5> |
| 55 | |
| 56 | <ul> |
| 57 | <li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li> |
| 58 | <li><a href="edit-comments.php?comment_status=moderated"><?php _e('Moderate Comments') ?></a></li> |
| 59 | <?php do_action('comment_relatedlinks_list'); ?> |
| 60 | </ul> |
| 61 | </div> |
| 62 | <?php do_action('submitcomment_box'); ?> |
| 63 | </div> |
| 64 | |
| 65 | <div id="post-body"> |
| 66 | <div id="namediv" class="stuffbox"> |
| 67 | <h3><label for="name"><?php _e('Name') ?></label></h3> |
| 68 | <div class="inside"> |
| 69 | <input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" /> |
| 70 | </div> |
| 71 | </div> |