WordPress at a glance
filter is not described

author_email filter-hook . WP 1.2.0

Filters the comment author's email for display.

Usage

add_filter( 'author_email', 'filter_function_name_4157', 10, 2 );
function filter_function_name_4157( $author_email, $comment_ID ){
	// filter...

	return $author_email;
}
$author_email(string)
The comment author's email address.
$comment_ID(int)
The comment ID.

Notes

  • Since 4.1.0 The $comment_ID parameter was added.

Where the hook is called

comment_author_email()
wp-includes/comment-template.php 128
echo apply_filters( 'author_email', $author_email, $comment->comment_ID );

Where the hook is used (in WP core)

Does not used.