WordPress at a glance
filter is not described

pre_comment_author_name filter-hook . WP 1.5.0

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.

Usage

add_filter( 'pre_comment_author_name', 'filter_function_name_1282' );
function filter_function_name_1282( $author_cookie ){
	// filter...

	return $author_cookie;
}
$author_cookie(string)
The comment author name cookie.

Where the hook is called

sanitize_comment_cookies()
wp_filter_comment()
wp-includes/comment.php 570
$comment_author = apply_filters( 'pre_comment_author_name', $_COOKIE['comment_author_' . COOKIEHASH] );
wp-includes/comment.php 1843
$commentdata['comment_author'] = apply_filters( 'pre_comment_author_name', $commentdata['comment_author'] );

Where the hook is used (in WP core)

wp-includes/default-filters.php 17
add_filter( $filter, 'sanitize_text_field' );
wp-includes/default-filters.php 18
add_filter( $filter, 'wp_filter_kses' );
wp-includes/default-filters.php 19
add_filter( $filter, '_wp_specialchars', 30 );