public function MailchimpTemplates::getTemplateContent in Mailchimp 8
Gets the default content of a specific template.
Parameters
string $template_id: The ID of the template.
array $parameters: Associative array of optional request parameters.
Return value
object
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/templat...
File
- lib/
mailchimp-api-php/ src/ MailchimpTemplates.php, line 58
Class
- MailchimpTemplates
- Mailchimp Templates library.
Namespace
MailchimpCode
public function getTemplateContent($template_id, $parameters = []) {
$tokens = [
'template_id' => $template_id,
];
return $this
->request('GET', '/templates/{template_id}/default-content', $tokens, $parameters);
}