comment_moderation_text WordPress Filter Hook

The comment_moderation_text hook is used to specify the text displayed in the comment moderation notification email. This hook can be used to customize the message sent to moderators when a comment is awaiting approval.

apply_filters( 'comment_moderation_text', string $notify_message, int $comment_id ) #

Filters the comment moderation email text.


Parameters

$notify_message

(string)Text of the comment moderation email.

$comment_id

(int)Comment ID.


Top ↑

Source

File: wp-includes/pluggable.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
1.5.2Introduced.

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