public function __construct() { $this->widget_cssclass = 'widget-mailchimp'; $this->widget_description = __("Widget Mailchimp Subscribe.", DH_DOMAIN); $this->widget_id = 'dh_widget_mailchimp'; $this->widget_name = __('Mailchimp Subscribe', DH_DOMAIN); $this->cached = false; $this->settings = array('title' => array('type' => 'text', 'std' => '', 'label' => __('Title', DH_DOMAIN))); parent::__construct(); }
public function form($instance) { $this->init_settings(); parent::form($instance); }