Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,967
- How-to & Troubleshooting
- 129,265
- Creating & Extending
- 25,784
- Requests & Feedback
- 9,479
- Third Party Plugins
- 9,784
- Showcase
- 3,317
- Ideas
- 1,401
- Miscellaneous
- 9,165
-
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';
}
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS