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



comment_author › WordPress过滤钩子

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

Filters the comment author's name for display.





源码

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