Created
December 27, 2013 04:18
-
-
Save zeropointdevelopment/8142516 to your computer and use it in GitHub Desktop.
[WordPress] Code from our blog post - Changing the Default Outgoing WordPress Email Address - http://www.limecanvas.com/changing-the-default-outgoing-wordpress-email-address/
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
function lc_new_mail_from( $email ) { | |
$email = '[email protected]'; | |
return $email; | |
} | |
add_filter( 'wp_mail_from', 'lc_new_mail_from' ); | |
function lc_new_mail_from_name( $name ) { | |
$name = 'My Business Website'; | |
return $name; | |
} | |
add_filter( 'wp_mail_from_name', 'lc_new_mail_from_name' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment