apply_filters( 'comment_author', string $author, string $comment_id )

Filters the comment author’s name for display.


Parameters

$author

The comment author's username.

$comment_id

The comment ID as a numeric string.


Source

File: wp-includes/comment-template.php

View on GitHub


Changelog

Changelog
Version Description
4.1.0 The $comment_id parameter was added.
1.2.0 Introduced.