Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_get_current_commenter()

3 tags 1 category

wp_get_current_commenter() — Gets current commenter’s name, email, and URL. Expects cookies content to already be sanitized. User of this function might wish to recheck the returned array for validity.

Returns array: An array of current commenter variables. Field $comment_author (string): The name of the current commenter, or an empty string. Field $comment_author_email (string): The email address of the current commenter, or an empty string. Field $comment_author_url (string): The URL address of the current commenter, or an empty string.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…