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.
Parameters
- $comment_author_email
-
The comment author's email address.
- $comment
-
The comment object.
Source
Changelog
Version | Description |
---|---|
WP-4.1.0 | The $comment parameter was added. |
WP-1.2.0 | Introduced. |