function MCAPI::campaignTemplates in Mailchimp 6
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::campaignTemplates()
- 5 MCAPI.class.php \MCAPI::campaignTemplates()
- 6.2 MCAPI.class.php \MCAPI::campaignTemplates()
- 7 MCAPI.class.php \MCAPI::campaignTemplates()
Retrieve all templates defined for your user account
Related
@example xml-rpc_campaignTemplates.php
@returnf integer id Id of the template @returnf string name Name of the template @returnf string layout Layout of the template - "basic", "left_column", "right_column", or "postcard" @returnf array sections associative array of editable sections in the template that can accept custom HTML when sending a campaign
Return value
array An array of structs, one for each template (see Returned Fields for details)
File
- ./
MCAPI.class.php, line 153
Class
Code
function campaignTemplates() {
$params = array();
return $this
->callServer("campaignTemplates", $params);
}