Fires before the user’s password is reset.
$userWP_User
$new_passstring
Runs after the user submits a new password during password reset but before the new password is actually set.
do_action( 'password_reset', $user, $new_pass );
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/password_reset