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.2

apply_filters('wp_privacy_personal_data_email_headers') is found 1 times:

  • /wp-admin/includes/privacy-tools.php line 737
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    *     @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();
    }