WordPress at a glance
filter is not described

author_email filter-hook . WP 1.2.0

Filters the comment author's email for display.


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

	return $author_email;
The comment author's email address.
The comment ID.


  • Since 4.1.0 The $comment_ID parameter was added.

Where the hook is called

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.