do_action( ‘retrieve_password_key’, string $user_login, string $key )

In this article

Fires when a password reset key is generated.

Parameters

$user_loginstring
The username for the user.
$keystring
The generated password reset key.

Source

do_action( 'retrieve_password_key', $user->user_login, $key );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.