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

Filters the comment author’s name for display.


Parameters

$author string
The comment author's username.
$comment_ID string
The comment ID as a numeric string.

Top ↑

Source

File: wp-includes/comment-template.php. View all references

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


Top ↑

Changelog

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

Top ↑

User Contributed Notes

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