Filters the current commenter's name, email, and URL.
$comment_author_dataarray$comment_authorstring
$comment_author_emailstring
$comment_author_urlstring
wp-includes/comment.php:2020wp_get_current_commenter() * * @type string $comment_author The name of the current commenter, or an empty string. * @type string $comment_author_email The email address of the current commenter, or an empty string. * @type string $comment_author_url The URL address of the current commenter, or an empty string. * } */ return apply_filters( 'wp_get_current_commenter', compact( 'comment_author', 'comment_author_email', 'comment_author_url' ) );} /** * Gets unapproved comment author's email. * * Used to allow the commenter to see their pending comment.Introduced in 3.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.