wp_privacy_personal_data_email_headers

wp_privacy_personal_data_email_headers

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_privacy_personal_data_email_headers') is found 1 times:

  • /wp-admin/includes/privacy-tools.php line 737
    	 *     @type string          $sitename          The site name sending the mail.
    	 *     @type string          $siteurl           The site URL sending the mail.
    	 * }
    	 */
    	$headers = apply_filters( 'wp_privacy_personal_data_email_headers', $headers, $subject, $content, $request_id, $email_data );
    
    	$mail_success = wp_mail( $request_email, $subject, $content, $headers );
    
    	if ( $switched_locale ) {
    		restore_previous_locale();
    	}