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:
  • 5: .

Description

Handles sending a password retrieval email to a user.

Related Functions

reset_password, wp_set_password, retrieve_widgets, the_post_password, wp_generate_password

Top Google Results

User discussions

wpseek mobile