Title: user_request_action_email_subject
Published: October 5, 2018
Last modified: August 20, 2026

---

# apply_filters( ‘user_request_action_email_subject’, string $subject, string $sitename, array $email_data )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/user_request_action_email_subject/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/user_request_action_email_subject/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/user_request_action_email_subject/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/user_request_action_email_subject/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/user_request_action_email_subject/?output_format=md#wp--skip-link--target)

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

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/user_request_action_email_subject/?output_format=md#parameters)󠁿

 `$subject`string

The email subject.

`$sitename`string

The name of the site.

`$email_data`array

Data relating to the account action email.

 * `request` [WP_User_Request](https://developer.wordpress.org/reference/classes/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.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/user_request_action_email_subject/?output_format=md#source)󠁿

    ```php
    $subject = apply_filters( 'user_request_action_email_subject', $subject, $email_data['sitename'], $email_data );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/user.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/user.php#L4960)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/user.php#L4960-L4960)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/user_request_action_email_subject/?output_format=md#related)󠁿

| Used by | Description | 
| [wp_send_user_request()](https://developer.wordpress.org/reference/functions/wp_send_user_request/)`wp-includes/user.php` |

Send a confirmation request email to confirm an action.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/user_request_action_email_subject/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.9.6](https://developer.wordpress.org/reference/since/4.9.6/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fuser_request_action_email_subject%2F)
before being able to contribute a note or feedback.