W3cubDocs

/WordPress

apply_filters( ‘comment_notification_headers’, string $message_headers, string $comment_id )

Filters the comment notification email headers.

Parameters

$message_headersstring
Headers for the comment notification email.
$comment_idstring
Comment ID as a numeric string.

Source

$message_headers = apply_filters( 'comment_notification_headers', $message_headers, $comment->comment_ID );

Changelog

Version Description
1.5.2 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_notification_headers