9

How can I customise the the new user welcome email ?

I tried 'http://www.sean-barton.co.uk/wordpress-welcome-email-editor/' however it conflicts with some of the other plugins I need to use, Cimy Extra Fields.

There is one other plugin that is to old for wordpress 3.0.1.

Will

8

SB Welcome Email Editor works by replacing wp_new_user_notification() with an own version. The original version can be found in wp-includes/pluggable.php, the plugin uses an elaborate replacement with all kinds of options. You can do this to: create a new plugin (just a PHP file in wp-content/plugins/), and define wp_new_user_notification($user_id, $plaintext_pass = '') there. This will then be used instead of the regular WordPress version.

  • This probably answers the question, however I solved the problem by using 'Register Plus Redux'. This is a much better plugin that better solved my plugins woes. It replaced 3 other plugins and did a better job. – William Macdonald Nov 27 '10 at 6:45
  • I'm actually working to do the same thing as OP, but not really looking something as bloated as the plugin he ended up with. I looked into pluggable.php -> wp_new_user_notification(), but that doesn't appear to be the "new user welcome email" at all. Its for the email sent to the site admin that a new user has registered. – Zach Lysobey May 10 '13 at 18:49
  • @ZachL: wp_new_user_notification() does both: it first sends the mail to the admin, then to the user. – Jan Fabry May 12 '13 at 15:40
  • 1
    @ZachL : be carefull on using the wp_new_user_notification() the codex says Note: If password is not passed to function, the newly registered user will not receive their welcome email. – Ranjith Siji Jun 14 '14 at 10:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.