Created
April 30, 2020 00:29
-
-
Save BruceMcKinnon/2c5368f169ba520a7f2a9cd8d85531fe 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