-
-
Save dgoze/e7f5704dad6e1857263967910245b301 to your computer and use it in GitHub Desktop.
Change Wordpress emails sender adddess and sender name
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', 'kmow_mail_from_address'); | |
function kmow_mail_from_address($email){ | |
return '[email protected]'; | |
} | |
add_filter('wp_mail_from_name', 'kmow_mail_from_name'); | |
function kmow_mail_from_name($from_name){ | |
return "KMOW Web Site"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment