Filter hook 'pre_comment_author_name'

in WP Core File wp-includes/comment.php at line 593

Description

Filters the comment author's name cookie before it is set. When this filter hook is evaluated in wp_filter_comment(), the comment author's name string is passed.

Occurrences

Filename Line Number
wp-includes/comment.php 593
wp-includes/comment.php 2117

Parameters

Type Name Description
string $author_cookie The comment author name cookie.

PHP Doc

/**
		 * Filters the comment author's name cookie before it is set.
		 *
		 * When this filter hook is evaluated in wp_filter_comment(),
		 * the comment author's name string is passed.
		 *
		 * @since 1.5.0
		 *
		 * @param string $author_cookie The comment author name cookie.
		 */