[wp-trac] [WordPress Trac] #54690: Add ability to filter whole notification email in retrieve_password
WordPress Trac
noreply at wordpress.org
Wed Jan 19 12:15:27 UTC 2022
#54690: Add ability to filter whole notification email in retrieve_password
-------------------------------------------------+-------------------------
Reporter: connapptivity | Owner: audrasjb
Type: feature request | Status: closed
Priority: normal | Milestone: 6.0
Component: Users | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
needs-dev-note |
-------------------------------------------------+-------------------------
Changes (by audrasjb):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"52604" 52604]:
{{{
#!CommitTicketReference repository="" revision="52604"
Users: Add new hooks to filter retrieve password emails.
This change introduces two new hooks to help developers to filter retrieve
password emails:
- `send_retrieve_password_email` can be used to filter whether to send the
retrieve password email;
- `retrieve_password_notification_email` can be used to filter the
contents of the reset password notification email sent to the user.
This changesets also adds unit tests for these new filters.
Props connapptivity, costdev, audrasjb, johnbillion.
Fixes #54690.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54690#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list