Skip to content

Instantly share code, notes, and snippets.

@edheltzel
Created October 12, 2012 15:41
Show Gist options
  • Save edheltzel/3879863 to your computer and use it in GitHub Desktop.
Save edheltzel/3879863 to your computer and use it in GitHub Desktop.
Update Default Wordpress Email
// CHANGE EMAIL FROM NAME AND ADDRESS
add_filter('wp_mail_from', 'new_mail_from');
add_filter('wp_mail_from_name', 'new_mail_from_name');
function new_mail_from($old) {
return '[email protected]';
}
function new_mail_from_name($old) {
return 'THE WEB SITE NAME';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment