get_comment_author_email

Definition:
function get_comment_author_email( $comment_ID = 0 ) {}

Retrieve the email of the author of the current comment.

Parameters

  • int $comment_ID: The ID of the comment for which to get the author’s email. Optional.

Return values

returns:The current comment author’s email

Defined filters

  • get_comment_author_email
    apply_filters('get_comment_author_email', $comment->comment_author_email)

Source code

function get_comment_author_email( $comment_ID = 0 ) {

	$comment = get_comment( $comment_ID );

	return apply_filters('get_comment_author_email', $comment->comment_author_email);

}

1292

No comments yet... Be the first to leave a reply!

Leave a comment