Created
June 6, 2016 14:19
-
-
Save davidchc/daba209c422c69192902b698dc764c64 to your computer and use it in GitHub Desktop.
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 | |
$mailChimpManager = new MailChimpManager(); | |
//Verifica se tem o mailchimp | |
if($mailChimpManager->has($email)){ | |
//definino a loja | |
$store_id = 0; | |
//Informa sim ou não | |
$mailChimpManager->subscription(MailChimpManager::YES); | |
//altero | |
$mailChimpManager->update($store_id, $email); | |
$mailChimpManager->resetParam(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment