Created
July 16, 2013 13:44
-
-
Save jentanbernardus/6008816 to your computer and use it in GitHub Desktop.
WordPress: Changing default wordpres email settings
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
add_filter('wp_mail_from', 'new_mail_from'); | |
add_filter('wp_mail_from_name', 'new_mail_from_name'); | |
function new_mail_from($old) { | |
return 'your email address'; | |
} | |
function new_mail_from_name($old) { | |
return 'your name or your website'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment