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 |
---|---|
90 | <?php } ?> |
91 | <?php if ( $comment->comment_author_url ) { ?> |
92 | <tr> |
93 | <th scope="row"><?php _e('URL:'); ?></th> |
94 | <td><?php echo $comment->comment_author_url; ?></td> |
95 | </tr> |
96 | <?php } ?> |
97 | <tr> |
98 | <th scope="row" valign="top"><p><?php _e('Comment:'); ?></p></th> |
99 | <td><?php echo apply_filters( 'comment_text', $comment->comment_content ); ?></td> |
100 | </tr> |
101 | </table> |
102 |
|
103 | </div> |
104 | </div> |
105 | <?php |
106 | break; |
107 |
|
108 | case 'deletecomment': |