首页>文档>Wordpress开发文档>Wordpress 钩子>comment_notification_recipients

comment_notification_recipients

筛选挂钩:筛选电子邮件地址列表以接收评论通知。

apply_filters( ‘comment_notification_recipients’, string[] $emails , int $comment_id )

说明(Description)

默认情况下,只有文章作者会收到评论通知。此筛选器允许添加其他筛选器。


参数(Parameters)

参数类型说明
$emails(string[])接收评论通知的电子邮件地址数组。
$comment_id(int)评论ID。
更新版本源码位置使用被使用
3.7.0wp-includes/pluggable.php:151610
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索