retrieve_password
retrieve_password ( $user_login = '' )
Parameters:- (string) user_login Optional. Username to send a password retrieval email for. Defaults to `$_POST['user_login']` if not set.
Returns:- (true|WP_Error) True when finished, WP_Error object on error.
Defined at:Change Log: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Handles sending a password retrieval email to a user.