retrieve_password_notification_email WordPress Filter Hook
This hook is fired when a user attempts to retrieve their password. It allows you to modify the email that is sent to the user.
apply_filters( 'retrieve_password_notification_email', array $defaults ) #
Filters the contents of the reset password notification email sent to the user.
Parameters
- $defaults
(array)The default notification email arguments. Used to build wp_mail().
- 'to'
(string) The intended recipient- user email address.
- 'subject'
(string) The subject of the email. - 'message'
(string) The body of the email. - 'headers'
(string) The headers of the email.
- 'to'
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |