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 |
---|---|
880 | '<a href="' . $parent_link . '">' . $name . '</a>' |
881 | ); |
882 | } |
883 | } |
884 |
|
885 | comment_text( $comment ); |
886 |
|
887 | if ( $this->user_can ) { |
888 | /** This filter is documented in wp-admin/includes/comment.php */ |
889 | $comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content ); |
890 | ?> |
891 | <div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden"> |
892 | <textarea class="comment" rows="1" cols="1"><?php echo esc_textarea( $comment_content ); ?></textarea> |
893 | <div class="author-email"><?php echo esc_attr( $comment->comment_author_email ); ?></div> |
894 | <div class="author"><?php echo esc_attr( $comment->comment_author ); ?></div> |
895 | <div class="author-url"><?php echo esc_attr( $comment->comment_author_url ); ?></div> |
896 | <div class="comment_status"><?php echo $comment->comment_approved; ?></div> |
897 | </div> |
898 | <?php |