A WordPress-centric search engine for devs and theme authors



notify_moderator ›

Since4.4.0
Deprecatedn/a
apply_filters( 'notify_moderator', $maybe_notify, $comment_id )
Parameters: (2)
  • (bool) $maybe_notify Whether to notify blog moderator.
    Required: Yes
  • (int) $comment_ID The id of the comment for the notification.
    Required: Yes
Defined at:
Codex:

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





Source

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