WordPress at a glance
filter is not described

wp_get_current_commenter filter-hook . WP 3.1.0

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

Usage

add_filter( 'wp_get_current_commenter', 'filter_function_name_536' );
function filter_function_name_536( $comment_author_data ){
	// filter...

	return $comment_author_data;
}
$comment_author_data(array)

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.

Список изменений

С версии 3.1.0 Введена.

Где вызывается хук

wp_get_current_commenter()
wp_get_current_commenter
wp-includes/comment.php 1916
return apply_filters( 'wp_get_current_commenter', compact( 'comment_author', 'comment_author_email', 'comment_author_url' ) );

Где используется хук в ядре WP

Использование не найдено.