Last active
September 3, 2019 02:47
-
-
Save donini/6357f37b8cd8c0bcb2875fb2f528f332 to your computer and use it in GitHub Desktop.
Change from name
This file contains 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 | |
/** notification mail email change. | |
** | |
** @param string $mail Custom e-mail address. | |
**/ | |
add_filter('wp_mail_from','custom_email_from'); | |
function custom_email_from($mail) { | |
$mail = '[YOURMAIL@YOURSITE.COM]'; | |
return $mail; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment