WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about retrieve_password_message

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/user.php apply_filters 3198 /**
* Filters the message body of the password reset mail.
*
* If the filtered message is empty, the password reset email will not be sent.
*
* @since 2.8.0
* @since 4.1.0 Added `$user_login` and `$user_data` parameters.
*
* @param string $message Email message.
* @param string $key The activation key.
* @param string $user_login The username for the user.
* @param WP_User $user_data WP_User object.
*/

Hook Parameters

Parameter Type Name Description
string $message Email message.
string $key The activation key.
string $user_login The username for the user.
WP_User $user_data WP_User object.