On this page
apply_filters( 'retrieve_password_notification_email', array $defaults )
Filters the contents of the reset password notification email sent to the user.
Parameters
$defaultsarray-
The default notification email arguments. Used to build wp_mail() .
tostringThe intended recipient - user email address.subjectstringThe subject of the email.messagestringThe body of the email.headersstringThe headers of the email.
Source
File: wp-includes/user.php. View all references
$notification_email = apply_filters( 'retrieve_password_notification_email', $defaults, $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
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/retrieve_password_notification_email