[wp-trac] [WordPress Trac] #38068: Add filters to wp_new_user_notification and wp_password_change_notification

WordPress Trac noreply at wordpress.org
Thu Sep 15 16:10:01 UTC 2016


#38068: Add filters to wp_new_user_notification and
wp_password_change_notification
------------------------------------------------+--------------------------
 Reporter:  pbearne                             |       Owner:
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Users                               |  Review
 Severity:  normal                              |     Version:
 Keywords:  has-patch dev-feedback needs-codex  |  Resolution:
                                                |     Focuses:
------------------------------------------------+--------------------------

Comment (by pbearne):

 For an example look at wp_notify_moderator() I copied the headers filter
 to match

 I have been working on WP VIP project so can only ship a theme where the
 client wanted to change the eamil content but I can't replace the
 pluggable function in a theme as the file sis load before the theme

 Yes there will be plugin/code that overloads the function that will not
 have the filters but any new one and updates can have them. The filter not
 not been there is not a reason to not add them

 will fix patch root I thought is was the dev root

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38068#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list