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.


Top ↑

Source

File: wp-includes/pluggable.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
1.5.2Introduced.

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