Posted By

RainyDayMedia on 09/21/11


email php default wordpress wp wordrpess

Versions (?)

Change Wordpress default FROM email address

 / Published in: PHP


Add to the bottom of the your theme's function.php file. Change to your site's name

  1. add_filter('wp_mail_from', 'new_mail_from');
  2. add_filter('wp_mail_from_name', 'new_mail_from_name');
  4. function new_mail_from($old) {
  5. }
  6. function new_mail_from_name($old) {
  7. return 'Your Blog Name';
  8. }

Report this snippet  

You need to login to post a comment.