Created
July 5, 2013 21:28
-
-
Save haroldparis/5937377 to your computer and use it in GitHub Desktop.
WooCommerce : Newsletter Subscription Plugin on "single optin" mode for Mailchimp - Find the "$retval = $api->listSubscribe( $listid, $email, $vars );" line and modify accordingly adding the $double_optin=false and $send_welcome=false to listSubscribe(). Enjoy !
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 | |
// Adding the $double_optin=false and $send_welcome=false parameters for single optin and no welcome email message | |
$retval = $api->listSubscribe( $listid, $email, $vars, $double_optin=false, $send_welcome=false ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment