Created
October 12, 2012 15:41
-
-
Save edheltzel/3879863 to your computer and use it in GitHub Desktop.
Update Default Wordpress Email
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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