On this page
apply_filters( 'author_email', string $author_email, string $comment_ID )
Filters the comment author’s email for display.
Parameters
$author_emailstring-
The comment author's email address.
$comment_IDstring-
The comment ID as a numeric string.
Source
File: wp-includes/comment-template.php. View all references
echo apply_filters( 'author_email', $author_email, $comment->comment_ID );
Related
Used By
| Used By | Description |
|---|---|
| comment_author_email() wp-includes/comment-template.php | Displays the email of the author of the current global $comment. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/author_email