You are here

function CampaignMonitor::listDeleteCustomField in Campaign Monitor 6.3

Same name and namespace in other branches
  1. 5.2 lib/CMBase.php \CampaignMonitor::listDeleteCustomField()
  2. 6.2 lib/CMBase.php \CampaignMonitor::listDeleteCustomField()

*

Parameters

int $list_id (ListID) A valid list ID to check against. : * @param int $key (Key) The Key of the field we want to delete. * @return mixed A parsed response from the server, or null if something failed. * @see http://www.campaignmonitor.com/api/method/list-deletecustomfield/

File

lib/CMBase.php, line 1481

Class

CampaignMonitor
The new CampaignMonitor class that now extends from CMBase. This should be backwards compatible with the original (PHP5) version.

Code

function listDeleteCustomField($list_id, $key) {
  return $this
    ->makeCall('List.DeleteCustomField', array(
    'params' => array(
      'ListID' => $list_id,
      'Key' => $key,
    ),
  ));
}