Filters the current commenter’s name, email, and URL.
$comment_author_dataarray
comment_author stringcomment_author_email stringcomment_author_url stringreturn apply_filters( 'wp_get_current_commenter', compact( 'comment_author', 'comment_author_email', 'comment_author_url' ) );
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_current_commenter