function mailchimp_cache_clear_user in Mailchimp 7.2
Clear a mailchimp user memberinfo cache.
Parameters
string $list_id:
$email:
4 calls to mailchimp_cache_clear_user()
- mailchimp_process_webhook in ./
mailchimp.module - Process a webhook post from MailChimp.
- mailchimp_subscribe_user in ./
mailchimp.module - Subscribe a user to a given list.
- mailchimp_unsubscribe_user in ./
mailchimp.module - Unsubscribe a user from the given list.
- mailchimp_update_user in ./
mailchimp.module - Update a user in a given list.
File
- ./
mailchimp.module, line 384 - Mailchimp module.
Code
function mailchimp_cache_clear_user($list_id, $email) {
cache_clear_all($list_id . '-' . $email, 'cache_mailchimp_user');
}