get_password_reset_key
get_password_reset_key ( $user )
Parameters:- (WP_User) user User to retrieve password reset key for.
Returns:- (string|WP_Error) Password reset key on success. WP_Error on error.
Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Creates, stores, then returns a password reset key for user.