retrieve_password WordPress Action Hook
The retrieve_password hook is called when a user is attempting to retrieve a lost password. It can be used to modify the behavior of the password retrieval process, or to add extra security measures.
do_action( 'retrieve_password', string $user_login ) #
Fires before a new password is retrieved.
Parameters
- $user_login
(string)The user login name.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
1.5.1 | Introduced. |