W3cubDocs

/WordPress

do_action( 'retrieve_password_key', string $user_login, string $key )

Fires when a password reset key is generated.

Parameters

$user_login

(string) The username for the user.

$key

(string) The generated password reset key.

Source

File: wp-includes/user.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/retrieve_password_key