Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpswelch/2625444 to your computer and use it in GitHub Desktop.
Save jpswelch/2625444 to your computer and use it in GitHub Desktop.
WordPress: change default email user from wordpress@ to another@ #wordpress
add_filter('wp_mail_from', 'new_mail_from');
add_filter('wp_mail_from_name', 'new_mail_from_name');
function new_mail_from($old) {
return 'info@domain.com';
}
function new_mail_from_name($old) {
return 'Company Name';
}
@aahan
Copy link

aahan commented Feb 11, 2013

I've collected a tad-bit more: https://gist.github.com/Aahan/4752741

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment