notify_moderator WordPress Filter Hook

The notify_moderator Wordpress hook allows you to send a notification to a moderator when a new post is published. This can be useful for keeping track of new content on your site.

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.


Top ↑

Source

File: wp-includes/pluggable.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More