Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: comment_text

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
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':