You are here

function CMBase::subscribersGetIsSubscribed in Campaign Monitor 5.2

*

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 CMBase::subscribersGetIsSubscribed()
CMBase::checkSubscriptions in lib/CMBase.php
* Given an array of lists, indicate whether the $email is subscribed to each of those lists. * *
CMBase::subscriberAddRedundant in lib/CMBase.php
* This encapsulates the check of whether this particular user unsubscribed once. *
CMBase::subscriberAddWithCustomFieldsRedundant in lib/CMBase.php
* Same as subscriberAddRedundant() except with CustomFields. * *

File

lib/CMBase.php, line 532

Class

CMBase

Code

function subscribersGetIsSubscribed($email, $list_id = null) {
  return $this
    ->subscriberUnsubscribe($email, $list_id, true);
}