A WordPress-centric search engine for devs and theme authors



comment_author ›

Since4.1.0
Deprecatedn/a
apply_filters( 'comment_author', $author, $comment->comment_ID )
Parameters: (2)
  • (string) $author The comment author's username.
    Required: Yes
  • (int) $comment_ID The comment ID.
    Required: Yes
Defined at:
Codex:

Filters the comment author's name for display.





Source

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