Skip to content

Instantly share code, notes, and snippets.

@hauge75
Created June 10, 2016 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hauge75/55704dd9e961611666f2aa68e925d5a4 to your computer and use it in GitHub Desktop.
Save hauge75/55704dd9e961611666f2aa68e925d5a4 to your computer and use it in GitHub Desktop.
Change WordPress Email “Send From” Settings
function mail_filter_wp_mail_from($email){
return "your@email.com";
}
add_filter("wp_mail_from", "mail_filter_wp_mail_from");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment