function campaignmonitor_cache_clear_subscriber in Campaign Monitor 8
Clears a campaignmonitor user subscriber from cache.
Parameters
string $list_id:
string $email:
2 calls to campaignmonitor_cache_clear_subscriber()
- campaignmonitor_subscribe_process in ./
campaignmonitor.module - campaignmonitor_unsubscribe_process in ./
campaignmonitor.module - Unsubscribes a member from a CampaignMonitor list.
File
- ./
campaignmonitor.module, line 533 - Module that plugs in Campaign Monitor functionality to your Drupal web site. For Campaign Monitor information see: http://www.campaignmonitor.com/.
Code
function campaignmonitor_cache_clear_subscriber($list_id, $email) {
$cm = CampaignMonitor::getConnector();
$cm
->removeSubscriberFromCache($list_id, $email);
}