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
Changelog
| Version | Description |
|---|---|
| 4.1.0 | The $comment_id parameter was added. |
| 1.2.0 | Introduced. |