apply_filters( ‘author_email’, string $comment_author_email, string $comment_id )

In this article

Filters the comment author’s email for display.

Parameters

$comment_author_emailstring
The comment author’s email address.
$comment_idstring
The comment ID as a numeric string.

Source

echo apply_filters( 'author_email', $comment_author_email, $comment->comment_ID );

Changelog

VersionDescription
4.1.0The $comment_id parameter was added.
1.2.0Introduced.

User Contributed Notes

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