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.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |