[wp-trac] [WordPress Trac] #54690: Add ability to filter whole notification email in retrieve_password

WordPress Trac noreply at wordpress.org
Fri Dec 24 12:38:53 UTC 2021


#54690: Add ability to filter whole notification email in retrieve_password
-----------------------------+-----------------------------
 Reporter:  connapptivity    |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Users            |    Version:  trunk
 Severity:  normal           |   Keywords:  has-patch
  Focuses:                   |
-----------------------------+-----------------------------
 There are currently two features missing in the `retrieve_password`
 function:
 1. There is no way to filter for the whole notification email with one
 filter. Only the subject and the message are filterable separately.
 Including filtering for the whole notification email would follow style of
 other notification emails like in `wp_password_change_notification` or in
 `wp_password_change_notification_email`.
 2. There is currently no option to add email headers via filters (e.g. for
 html emails).

 Thus, a filter would be very nice (e.g.
 `retrieve_password_notification_email`, following naming conventions).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54690>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list