W3cubDocs

/WordPress

apply_filters( ‘comment_moderation_headers’, string $message_headers, int $comment_id )

Filters the comment moderation email headers.

Parameters

$message_headersstring
Headers for the comment moderation email.
$comment_idint
Comment ID.

Source

$message_headers = apply_filters( 'comment_moderation_headers', $message_headers, $comment_id );

Changelog

Version Description
2.8.0 Introduced.

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