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