user_erasure_complete_email_headers

user_erasure_complete_email_headers

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.7.2

apply_filters('user_erasure_complete_email_headers') is found 1 times:

  • /wp-includes/user.php line 3892
    3888
    3889
    3890
    3891
    3892
    3893
    3894
    3895
    3896
    3897
    3898
    *     @type string          $sitename           The site name sending the mail.
     *     @type string          $siteurl            The site URL sending the mail.
     * }
     */
    $headers = apply_filters( 'user_erasure_complete_email_headers', $headers, $subject, $content, $request_id, $email_data );
     
    $email_sent = wp_mail( $user_email, $subject, $content, $headers );
     
    if ( $switched_locale ) {
        restore_previous_locale();
    }