comment_email, $comment->comment_author_email, $comment
comment_email, $comment->comment_author_email, $comment
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('comment_email, $comment->comment_author_email, $comment') is found 2 times:
- /wp-admin/includes/class-wp-comments-list-table.php line 1045
if ( $this->user_can ) { if ( ! empty( $comment->comment_author_email ) ) { /** This filter is documented in wp-includes/comment-template.php */ $email = apply_filters( 'comment_email', $comment->comment_author_email, $comment ); if ( ! empty( $email ) && '@' !== $email ) { printf( '<a href="%1$s">%2$s</a><br />', esc_url( 'mailto:' . $email ), esc_html( $email ) ); } } - /wp-includes/comment-template.php line 203
* * @param string $comment_author_email The comment author's email address. * @param WP_Comment $comment The comment object. */ $comment_author_email = apply_filters( 'comment_email', $comment->comment_author_email, $comment ); if ( ( ! empty( $comment_author_email ) ) && ( '@' !== $comment_author_email ) ) { $display = ( '' !== $link_text ) ? $link_text : $comment_author_email; $comment_author_email_link = $before . sprintf( '<a href="%1$s">%2$s</a>',