Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44501, comment 4


Ignore:
Timestamp:
01/15/2019 07:58:22 AM (6 years ago)
Author:
garrett-eclipse
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44501, comment 4

    initial v1  
    55It was agreed to look into a filter for the reply-to and from email addresses as we felt filtering them specifically would be very helpful for organizations with a DPO as you mentioned.
    66
    7 After reviewing some core implementations it appears the best way to accomplish this would be to introduce the email header as filterable and pass it along to wp_mail. As currently using the`wp_mail_from` and `wp_mail_from_name` would affect all email as it's unaware of the email being for a privacy request.
     7After reviewing some core implementations it appears the best way to accomplish this would be to introduce the email header as filterable and pass it along to `wp_mail`. As currently using the`wp_mail_from` and `wp_mail_from_name` filters would affect all email since those filters are unaware it's for a privacy request.
    88
    99Two coding examples of this; [[BR]]