function mgm_gvo() { // parent parent::mgm_autoresponder(); // set code $this->code = __CLASS__; // set name $this->name = 'GVO'; // desc $this->description = __('GVO Desc', 'mgm'); // set path parent::set_tmpl_path(); // read settings $this->read(); // endpoints, not saved $this->set_endpoint('subscribe', 'http://www.gogvo.com/subscribe.php'); // subscribe $this->set_endpoint('unsubscribe', 'http://www.gogvo.com/unsubscribe.php'); // unsubscribe }
function mgm_mailchimp() { // parent parent::mgm_autoresponder(); // set code $this->code = __CLASS__; // set name $this->name = 'MailChimp'; // desc $this->description = __('MailChimp Desc.', 'mgm'); // set path parent::set_tmpl_path(); // read settings $this->read(); // endpoints, not saved $this->set_endpoint('subscribe', 'https://[domain].api.mailchimp.com/1.3/?output=php&method=listSubscribe'); // subscribe $this->set_endpoint('unsubscribe', 'https://[domain].api.mailchimp.com/1.3/?output=php&method=listUnsubscribe'); // unsubscribe }
function mgm_getresponse() { // parent parent::mgm_autoresponder(); // set code $this->code = __CLASS__; // set name $this->name = 'GetResponse'; // desc $this->description = __('GetResponse Desc', 'mgm'); // set path parent::set_tmpl_path(); // read settings $this->read(); // endpoints, not saved $this->set_endpoint('subscribe', 'http://api2.getresponse.com'); // subscribe $this->set_endpoint('unsubscribe', 'http://api2.getresponse.com'); // unsubscribe }