function CampaignMonitor::subscribersGetIsSubscribed in Campaign Monitor 6.3
Same name and namespace in other branches
- 6.2 lib/CMBase.php \CampaignMonitor::subscribersGetIsSubscribed()
*
Return value
string A parsed response from the server, or null if something failed. * @see http://www.campaignmonitor.com/api/Subscribers.GetIsSubscribed.aspx
3 calls to CampaignMonitor::subscribersGetIsSubscribed()
- CampaignMonitor::checkSubscriptions in lib/
CMBase.php - * Given an array of lists, indicate whether the $email is subscribed to each of those lists. * *
- CampaignMonitor::subscriberAddRedundant in lib/
CMBase.php - * This encapsulates the check of whether this particular user unsubscribed once. *
- CampaignMonitor::subscriberAddWithCustomFieldsRedundant in lib/
CMBase.php - * Same as subscriberAddRedundant() except with CustomFields. * *
File
- lib/
CMBase.php, line 767
Class
- CampaignMonitor
- The new CampaignMonitor class that now extends from CMBase. This should be backwards compatible with the original (PHP5) version.
Code
function subscribersGetIsSubscribed($email, $list_id = null) {
return $this
->subscriberUnsubscribe($email, $list_id, true);
}