comment_author_rss

过滤钩子


apply_filters( 'comment_author_rss', get_comment_author()
参数
  • (string)
    $comment_author
    The current comment author.
    Required:
定义位置
  • wp-includes/feed.php
    , line 337
引入
1.5.0
弃用

过滤当前的评论作者,以便在feed中使用。

return apply_filters( 'comment_author_rss', get_comment_author() );