comment_moderation_headers filter-hook . WP 2.8.0
Filters the comment moderation email headers.
Usage
add_filter( 'comment_moderation_headers', 'filter_function_name_5268', 10, 2 ); function filter_function_name_5268( $message_headers, $comment_id ){ // filter... return $message_headers; }
- $message_headers(string)
- Headers for the comment moderation email.
- $comment_id(int)
- Comment ID.
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
comment_moderation_headers
wp-includes/pluggable.php 1889
$message_headers = apply_filters( 'comment_moderation_headers', $message_headers, $comment_id );