WordPress开发者和主题制作者的搜索引擎



comment_author ›

Since4.1.0
已弃用n/a
apply_filters( 'comment_author', $author, $comment->comment_ID )
参数: (2)
  • (string) $author The comment author's username.
    Required: Yes
  • (int) $comment_ID The comment ID.
    Required: Yes
定义在:
文档:

Filters the comment author's name for display.





源码

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