[wp-trac] [WordPress Trac] #44235: GDPR - Provide filter on $email_data for the confirmed action emails
WordPress Trac
noreply at wordpress.org
Fri May 25 21:12:53 UTC 2018
#44235: GDPR - Provide filter on $email_data for the confirmed action emails
-----------------------------+-----------------------------
Reporter: garrett-eclipse | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version: trunk
Severity: normal | Keywords:
Focuses: administration |
-----------------------------+-----------------------------
Hello,
I was wondering if along with the user_confirmed_action_email_content
filter for $email_text > $content should there also be a filter for the
$email_data so plugins/devs can customize the array (request, user_email,
description, manage_url, sitename, siteurl, admin_email) as this
information is all used after the user_confirmed_action_email_content
filter to update the $content so there’s not currently a method to
customize this data before it's use.
The $email_data array I'm referring to;
https://github.com/WordPress/WordPress/blob/3ee58b55b14683af4c568bce1845c37408c88fbb
/wp-includes/user.php#L3000
Cheers
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44235>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list