function MCAPI::campaignContent in Mailchimp 5.2
Same name and namespace in other branches
- 5 MCAPI.class.php \MCAPI::campaignContent()
- 6.2 MCAPI.class.php \MCAPI::campaignContent()
- 6 MCAPI.class.php \MCAPI::campaignContent()
- 7 MCAPI.class.php \MCAPI::campaignContent()
Get the content (both html and text) for a campaign, exactly as it would appear in the campaign archive
Related
@returnf string html The HTML content used for the campgain with merge tags intact @returnf string text The Text content used for the campgain with merge tags intact
Parameters
string $cid the campaign id to get content for (can be gathered using campaigns()):
Return value
struct Struct containing all content for the campaign (see Returned Fields for details
File
- ./
MCAPI.class.php, line 470
Class
Code
function campaignContent($cid) {
$params = array();
$params["cid"] = $cid;
return $this
->callServer("campaignContent", $params);
}