On this page
apply_filters( 'retrieve_password_message', string $message, string $key, string $user_login, WP_User $user_data )
Filters the message body of the password reset mail.
Description
If the filtered message is empty, the password reset email will not be sent.
Parameters
Source
File: wp-includes/user.php. View all references
$message = apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data );
Related
Used By
| Used By | Description |
|---|---|
| retrieve_password() wp-includes/user.php | Handles sending a password retrieval email to a user. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/retrieve_password_message