Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[WordPress] Code from our blog post - Changing the Default Outgoing WordPress Email Address - http://www.limecanvas.com/changing-the-default-outgoing-wordpress-email-address/
function lc_new_mail_from( $email ) {
$email = 'hello@mydomain.com';
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
You can’t perform that action at this time.