apply_filters( 'notify_moderator', bool $maybe_notify , int $comment_id )
Filters whether to send the site moderator email notifications, overriding the site setting.
Parameters
-
$maybe_notify
bool -
Whether to notify blog moderator.
-
$comment_id
int -
The ID of the comment for the notification.
Source
File: wp-includes/pluggable.php
.
View all references
$maybe_notify = apply_filters( 'notify_moderator', $maybe_notify, $comment_id );
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |