Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#11247 closed enhancement (worksforme)

new user email filters

Reported by: ansimation's profile ansimation Owned by: westi's profile westi
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: Plugins Keywords: new user email
Focuses: Cc:


looked to see if there was a way for a plugin to actually edit the initial emails that are sent out when a user registers and there were no actions available so here's my patch. if you know of a way to do this without the patch then please feel free to let me know.

Attachments (1)

new_user_email_filters.diff (858 bytes) - added by ansimation 14 years ago.

Download all attachments as: .zip

Change History (3)

#1 @beaulebens
14 years ago

While those default messages are not currently filterable, they *are* defined in pluggable.php, in such a way that you can redefine the entire function if you want to do something totally different.

e.g. just defined your own version of wp_new_user_notification(), wp_password_change_notification() etc in a plugin, then activate it and it should override the core functions.

#2 @scribu
14 years ago

  • Milestone Unassigned deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.