Created
August 3, 2016 14:51
-
-
Save ingozoell/5d7b9971877b776751cc333fa8b96eb8 to your computer and use it in GitHub Desktop.
Change WordPress default mail sender
http://www.webanddesigners.com/change-wordpress-default-mail-sender/
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
function iz_mail_from($old) { | |
return 'EMAIL_ABENDER'; | |
} | |
function iz_mail_from_name($old) { | |
return 'NAME_ABSENDER'; | |
} | |
add_filter('wp_mail_from', 'iz_mail_from'); | |
add_filter('wp_mail_from_name', 'iz_mail_from_name'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment