Last active
February 5, 2019 16:23
-
-
Save agjunior/8be3b319e68b1102a99517230268c0a8 to your computer and use it in GitHub Desktop.
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
<?php | |
// E-mail de remetente | |
add_filter( 'wp_mail_from', function($email) { | |
return '[email protected]'; | |
}); | |
// Nome de remetente | |
add_filter( 'wp_mail_from_name', function($name) { | |
return 'Your Name'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment