Filter hook 'get_comment_author'

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

Description

Filters the returned comment author name.

Occurrences

Filename Line Number
wp-includes/comment-template.php 56

Parameters

Type Name Description
string $comment_author The comment author's username.
string $comment_id The comment ID as a numeric string.
WP_Comment $comment The comment object.

PHP Doc

/**
	 * Filters the returned comment author name.
	 *
	 * @since 1.5.0
	 * @since 4.1.0 The `$comment_id` and `$comment` parameters were added.
	 *
	 * @param string     $comment_author The comment author's username.
	 * @param string     $comment_id     The comment ID as a numeric string.
	 * @param WP_Comment $comment        The comment object.
	 */