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 |
---|---|
101 | } |
102 | ?></td> |
103 | <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td> |
104 | </tr> |
105 | <tr valign="top"> |
106 | <td class="first"> |
107 | <?php |
108 | if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) { |
109 | $link = '<a href="' . $comment->comment_author_url . '" rel="external nofollow" target="_blank">' . __('visit site') . '</a>'; |
110 | printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); |
111 | } else { |
112 | _e( 'URL:' ); |
113 | } ?></td> |
114 | <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" tabindex="3" /></td> |
115 | </tr> |
116 | </tbody> |
117 | </table> |
118 | <br /> |
119 | </div> |