comment_notification_headers WordPress Filter Hook
This hook is used to specify the headers for comment notifications. It is called by the wp_notify_postauthor() function when notifying the post author about a new comment.
apply_filters( 'comment_notification_headers', string $message_headers , string $comment_id ) #
Filters the comment notification email headers.
Parameters
- $message_headers
(string)Headers for the comment notification email.
- $comment_id
(string)Comment ID as a numeric string.
Source
Changelog
Version | Description |
---|---|
1.5.2 | Introduced. |