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 |
|---|---|
| 43 | } |
| 44 | ?></td> |
| 45 | <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td> |
| 46 | </tr> |
| 47 | <tr valign="top"> |
| 48 | <td class="first"> |
| 49 | <?php |
| 50 | if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) { |
| 51 | $link = '<a href="' . $comment->comment_author_url . '" rel="external nofollow" target="_blank">' . __('visit site') . '</a>'; |
| 52 | printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); |
| 53 | } else { |
| 54 | _e( 'URL:' ); |
| 55 | } ?></td> |
| 56 | <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); ?>" /></td> |
| 57 | </tr> |
| 58 | </tbody> |
| 59 | </table> |
| 60 | <br /> |
| 61 | </div> |