Posted By

RainyDayMedia on 09/21/11


Tagged

email php default wordpress wp wordrpess


Versions (?)

Change Wordpress default FROM email address


 / Published in: PHP
 

URL: rainydaymedia.net

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');
  3.  
  4. function new_mail_from($old) {
  5. return '[email protected]';
  6. }
  7. function new_mail_from_name($old) {
  8. return 'Your Blog Name';
  9. }

Report this snippet  

You need to login to post a comment.