reset_password
reset_password ( $user, $new_pass )
Parameters:- (WP_User) user The user
- (string) new_pass New password for the user in plaintext
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Handles resetting the user's password.