apply_filters( 'comment_email', string $comment_author_email, WP_Comment $comment )

Filters the comment author’s email for display.


Description

Care should be taken to protect the email address and assure that email harvesters do not capture your commenter’s email address.


Top ↑

Parameters

$comment_author_email string
The comment author's email address.
$comment WP_Comment
The comment object.

Top ↑

Source

File: wp-includes/comment-template.php. View all references

$comment_author_email = apply_filters( 'comment_email', $comment->comment_author_email, $comment );


Top ↑

Changelog

Changelog
Version Description
4.1.0 The $comment parameter was added.
1.2.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.