function _mailchimp_update_user in Mailchimp 5.2
Same name and namespace in other branches
- 5 mailchimp.module \_mailchimp_update_user()
- 6 mailchimp.module \_mailchimp_update_user()
Update the given user's subscrition to the given list
2 calls to _mailchimp_update_user()
- mailchimp_bio_nodeapi in ./
mailchimp_bio.module - Implementation of hook_nodeapi(). Allows update on bio change
- mailchimp_user in ./
mailchimp.module
File
- ./
mailchimp.module, line 733
Code
function _mailchimp_update_user($list, $mail, $merge_vars, $q = NULL) {
if ($q || ($q = _mailchimp_get_api_object())) {
$q
->listUpdateMember($list['id'], $mail, $merge_vars);
}
return $success;
}