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



notify_moderator › WordPress过滤钩子

Since4.4.0
已弃用n/a
apply_filters( 'notify_moderator', $maybe_notify, $comment_id )
参数: (2)
  • (bool) $maybe_notify Whether to notify blog moderator.
    Required: Yes
  • (int) $comment_id The ID of the comment for the notification.
    Required: Yes
定义在:
文档:

Filters whether to send the site moderator email notifications, overriding the site setting.





源码

$maybe_notify = apply_filters( 'notify_moderator', $maybe_notify, $comment_id );