apply_filters( 'author_email', string $comment_author_email , string $comment_id )
Filters the comment author’s email for display.
Parameters
-
$comment_author_email
string -
The comment author's email address.
-
$comment_id
string -
The comment ID as a numeric string.
Source
File: wp-includes/comment-template.php
.
View all references
echo apply_filters( 'author_email', $comment_author_email, $comment->comment_ID );
Changelog
Version | Description |
---|---|
4.1.0 | The $comment_id parameter was added. |
1.2.0 | Introduced. |