W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
4.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/notify_moderator