wpseek.com
A WordPress-centric search engine for devs and theme authors



notify_moderator › WordPress Filter Hooks

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 );