do_action( 'password_reset', WP_User $user , string $new_pass )
Fires before the user’s password is reset.
Parameters
-
$user
WP_User -
The user.
-
$new_pass
string -
New user password.
More Information
Runs after the user submits a new password during password reset but before the new password is actually set.
Source
File: wp-includes/user.php
.
View all references
do_action( 'password_reset', $user, $new_pass );
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
User Contributed Notes
-
Skip to note 1 content You must log in to vote on the helpfulness of this noteVote results for this note: 0You must log in to vote on the helpfulness of this note