user_request_confirmed_email_headers

user_request_confirmed_email_headers

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('user_request_confirmed_email_headers') is found 1 times:

  • /wp-includes/user.php line 4301
    4297
    4298
    4299
    4300
    4301
    4302
    4303
    4304
    4305
    4306
    4307
    *     @type string          $siteurl     The site URL sending the mail.
     *     @type string          $admin_email The administrator email receiving the mail.
     * }
     */
    $headers = apply_filters( 'user_request_confirmed_email_headers', $headers, $subject, $content, $request_id, $email_data );
     
    $email_sent = wp_mail( $email_data['admin_email'], $subject, $content, $headers );
     
    if ( $email_sent ) {
        update_post_meta( $request_id, '_wp_admin_notified', true );
    }