Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,568
- Creating & Extending
- 25,789
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,791
- Showcase
- 3,316
- Ideas
- 1,385
- Miscellaneous
- 9,169
-
Hi life2000
You need to write a filter to hook into the update_welcome_user_email action, like so:
add_filter('update_welcome_user_email', 'filter_newuseremail_dm', 1, 4);
function filter_newuseremail_dm($welcome_email, $user_id, $password, $meta) {
return "body text of your email";
}
If you want to send an email formatted with HTML, you also need to do this:
add_filter('wp_mail_content_type', 'newuseremail_content_type_dm', 1);
function newuseremail_content_type_dm() {
return 'text/html';
}