comment_moderation_headers WordPress Filter Hook

The comment_moderation_headers hook is used to modify the email headers when a comment is held for moderation. This hook can be used to add extra headers, or to remove default headers.

apply_filters( 'comment_moderation_headers', string $message_headers, int $comment_id ) #

Filters the comment moderation email headers.


Parameters

$message_headers

(string)Headers for the comment moderation email.

$comment_id

(int)Comment ID.


Top ↑

Source

File: wp-includes/pluggable.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.8.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