defaults = array( 'title' => '', 'service' => '', 'open_same_window' => 0, 'fname_field' => '', 'lname_field' => '', 'email_field' => '', 'hidden_fields' => '', 'fname_text' => __( 'First Name', 'business-center-pro' ), 'lname_text' => __( 'Last Name', 'business-center-pro' ), 'email_text' => __( 'Email', 'business-center-pro' ), 'button_text' => __( 'Subscribe', 'business-center-pro' ), 'feedburner_id' => '', 'action' => '', 'mailpoet_check' => __( 'Check your inbox or spam folder now to confirm your subscription.', 'business-center-pro' ), 'mailpoet_subbed' => __( 'You\'ve successfully subscribed.', 'business-center-pro' ), ); $widget_ops = array( 'classname' => 'business-center-pronewsletter', 'description' => __( 'Display newsletter.', 'business-center-pro' ), ); $control_ops = array( 'id_base' => 'business-center-pronewsletter', ); parent::__construct( 'business-center-pronewsletter', // Base ID __( 'TP: Newsletter', 'business-center-pro' ), // Name $widget_ops, $control_ops ); } /** * Echo the settings update form. * * @since 1.0 * * @param array $instance Current settings. */ function form( $instance ) { // Merge with defaults $instance = wp_parse_args( (array) $instance, $this->defaults ); $style = 'style="display: none;"'; ?>


> get( array( 'name','list_id' ), array( 'is_enabled' => 1, ) ); ?>




>

>

>

>

>

>

>

>

> />

>

>

" ); $new_instance['hidden_fields'] = strip_tags( $new_instance['hidden_fields'], "
,
, ,