wordpress / latest / hooks / notify_moderator.html

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

Used By

Used By Description

Changelog

Version Description
4.4.0 Introduced.

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