comment_notification_headers

comment_notification_headers

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('comment_notification_headers') is found 1 times:

  • /wp-includes/pluggable.php line 1853
    		 *
    		 * @param string $message_headers Headers for the comment notification email.
    		 * @param string $comment_id      Comment ID as a numeric string.
    		 */
    		$message_headers = apply_filters( 'comment_notification_headers', $message_headers, $comment->comment_ID );
    
    		foreach ( $emails as $email ) {
    			wp_mail( $email, wp_specialchars_decode( $subject ), $notify_message, $message_headers );
    		}
    
    		if ( $switched_locale ) {