Title: application_password_did_authenticate
Published: December 9, 2020
Last modified: April 28, 2025

---

# do_action( ‘application_password_did_authenticate’, WP_User $user, array $item )

## In this article

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

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

Fires after an application password was used for authentication.

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

 `$user`[WP_User](https://developer.wordpress.org/reference/classes/wp_user/)

The user who was authenticated.

`$item`array

The application password used.

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

    ```php
    do_action( 'application_password_did_authenticate', $user, $item );
    ```

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

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

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

Authenticates the user using an application password.

  |

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

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

## User Contributed Notes

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