application_password_did_authenticate action-hook . WP 5.6.0
Fires after an application password was used for authentication.
Usage
add_action( 'application_password_did_authenticate', 'action_function_name_2077', 10, 2 ); function action_function_name_2077( $user, $item ){ // action... }
- $user(WP_User)
- The user who was authenticated.
- $item(array)
- The application password used.
Changelog
Since 5.6.0 | Introduced. |
Where the hook is called
application_password_did_authenticate
wp-includes/user.php 430
do_action( 'application_password_did_authenticate', $user, $item );
Where in WP core the hook is used WordPress
wp-includes/user.php 280
add_action( 'application_password_did_authenticate', 'rest_application_password_collect_status' );