Filters the comment author's email for display.
$comment_author_emailstring$comment_idstringwp-includes/comment-template.php:140comment_author_email()<?php * @since 1.2.0 * @since 4.1.0 The `$comment_id` parameter was added. * * @param string $comment_author_email The comment author's email address. * @param string $comment_id The comment ID as a numeric string. */ echo apply_filters( 'author_email', $comment_author_email, $comment->comment_ID );} /** * Displays the HTML email link to the author of the current comment. * * Care should be taken to protect the email address and assure that emailIntroduced in 1.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.