function CampaignMonitor::subscriberAddAndResubscribe in Campaign Monitor 6.3
Same name and namespace in other branches
- 5.2 lib/CMBase.php \CampaignMonitor::subscriberAddAndResubscribe()
- 6.2 lib/CMBase.php \CampaignMonitor::subscriberAddAndResubscribe()
*
Parameters
string $email Email address.: * @param string $name User's name. * @param int $list_id (Optional) A valid List ID to check against. If not given, the default class property is used. * @see http://www.campaignmonitor.com/api/Subscriber.AddAndResubscribe.aspx
File
- lib/
CMBase.php, line 802
Class
- CampaignMonitor
- The new CampaignMonitor class that now extends from CMBase. This should be backwards compatible with the original (PHP5) version.
Code
function subscriberAddAndResubscribe($email, $name, $list_id = null) {
return $this
->subscriberAdd($email, $name, $list_id, true);
}