apply_filters ( ‘comment_author’, string $comment_author , string $comment_id )

Filters the comment author’s name for display.

Parameters

$comment_author string
The comment author’s username.
$comment_id string
The comment ID as a numeric string.

Source

echo apply_filters( 'comment_author', $comment_author, $comment->comment_ID );

Changuelog

Versionen Description
4.1.0 The $comment_id parameter was added.
1.2.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.