WordPress at Your Fingertips
filter is not described

user_request_action_email_headers filter-hook . WP 5.4.0

Filters the headers of the email sent when an account action is attempted.


add_filter( 'user_request_action_email_headers', 'filter_function_name_3112', 10, 5 );
function filter_function_name_3112( $headers, $subject, $content, $request_id, $email_data ){
	// filter...

	return $headers;
The email headers.
The email subject.
The email content.
The request ID.

Data relating to the account action email.

  • request(WP_User_Request)
    User request object.

  • email(string)
    The email address this is being sent to.

  • description(string)
    Description of the action being performed so the user knows what the email is for.

  • confirm_url(string)
    The link to click on to confirm the account action.

  • sitename(string)
    The site name sending the mail.

  • siteurl(string)
    The site URL sending the mail.

Where the hook is called

wp-includes/user.php 4360
$headers = apply_filters( 'user_request_action_email_headers', $headers, $subject, $content, $request_id, $email_data );

Where in WP core the hook is used WordPress

Usage not found.