wp_get_current_commenter

Advertisement

Summery Summery

Filters the current commenter’s name, email, and URL.

Syntax Syntax

apply_filters( 'wp_get_current_commenter', array $comment_author_data )

Parameters Parameters

$comment_author_data

An array of current commenter variables.

  • 'comment_author'
    (string) The name of the current commenter, or an empty string.
  • 'comment_author_email'
    (string) The email address of the current commenter, or an empty string.
  • 'comment_author_url'
    (string) The URL address of the current commenter, or an empty string.

Source Source

File: wp-includes/comment.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply