after_password_reset WordPress Action Hook
After a user has reset their password, the after_password_reset hook is called. This hook can be used to log the user in or redirect them to a specific page.
do_action( 'after_password_reset', WP_User $user , string $new_pass ) #
Fires after the user’s password is reset.
Parameters
- $user
(WP_User)The user.
- $new_pass
(string)New user password.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |