perch_mailchimp_campaign_content()

One line description mentioning your_function().

Requires

Parameters

Type Description
String A slug to identify the campaign
Boolean Set to true to have the value returned instead of echoed.

Usage examples

This campaign page will be a complete document, so should not contain any other HTML, therefore all you need in the file is the following code, your campaign listing page would pass the slug value on the query string to this page.

<?php
    include('../perch/runtime.php');
    perch_mailchimp_campaign_content(perch_get('s'));
?>