Last active
August 29, 2015 14:17
-
-
Save amdrew/70aefa5d77da9f858b73 to your computer and use it in GitHub Desktop.
AffiliateWP - change headers
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
function affwp_custom_email_headers( $headers ) { | |
// change this to be your new site name | |
$from = 'Your new site name'; | |
// change this to your email address that the email should come from | |
$email = '[email protected]'; | |
$headers[] = 'From: ' . $from . ' <' . $email . '>'; | |
return $headers; | |
} | |
add_filter( 'affwp_email_headers', 'affwp_custom_email_headers' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment