'; echo '

Affiliates Manager and MailChimp

'; echo '
'; if (isset($_POST['wpam_mc_save_settings'])) { $enable_mc_signup = isset($_POST['enable_mc_signup']) ? '1':''; $options = array( 'enable_mc_signup' => $enable_mc_signup, 'mc_api_key' => $_POST['mc_api_key'], 'mc_list_name' => $_POST['mc_list_name'], ); update_option('wpam_mailchimp_settings', $options); //store the results in WP options table echo '
'; echo '

MailChimp Settings Saved!

'; echo '
'; } $wpam_mc_settings = get_option('wpam_mailchimp_settings'); ?>

Read the usage documentation to learn how to use the mailchimp integration addon

Enter your MailChimp API details below.

Enable MailChimp Signup: value="1"/>

Check this if you want to enable MailChimp signup for your affiliates.

MailChimp API Key:

The API Key of your MailChimp account (you can find it under the "Account" tab). Make sure to activate it first.

MailChimp List Name:

Enter the MailChimp list name where you want your affiliates to be signed upto.

'; //end of poststuff and post-body echo '
'; //end of wrap }