Skip to content

Instantly share code, notes, and snippets.

@zeropointdevelopment
Created December 27, 2013 04:18
Show Gist options
  • Save zeropointdevelopment/8142516 to your computer and use it in GitHub Desktop.
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/
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