Filter hook 'comment_author'

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

Description

Filters the comment author's name for display.

Occurrences

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

Parameters

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

PHP Doc

/**
	 * Filters the comment author's name for display.
	 *
	 * @since 1.2.0
	 * @since 4.1.0 The `$comment_id` parameter was added.
	 *
	 * @param string $comment_author The comment author's username.
	 * @param string $comment_id     The comment ID as a numeric string.
	 */