/** * This is here to fix a bug in GF 1.7 that hard-coded MailChimp as the service. * @param array $field Field array * @param boolean $echo Echo the output * @return string HTML output for feed condition */ public function settings_feed_condition($field, $echo = true) { // Get the output from the default Feed Add-on $html = parent::settings_feed_condition($field, false); // Replace MailChimp $html = str_replace('MailChimp', $this->get_service_name(), $html); if ($echo) { echo $html; } return $html; }