Posted By

shufflepath on 03/07/12


Tagged

php wordpress


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

fmdfrank


Change WordPress default FROM email address


 / Published in: PHP
 

  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.