'widget-beginner-feedburner widget_newsletter', 'description' => __( 'FeedBurner email subscription.', 'beginner' ) ); // Create the widget. parent::__construct( 'beginner-feedburner', // $this->id_base __( '» Feedburner', 'beginner' ), // $this->name $widget_options // $this->widget_options ); } /** * Outputs the widget based on the arguments input through the widget controls. * * @since 1.0.0 */ function widget( $args, $instance ) { extract( $args ); // Output the theme's $before_widget wrapper. echo $before_widget; // If the title not empty, display it. if ( $instance['title'] ) { echo $before_title . apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ) . $after_title; } // Display the form. if ( $instance['feed_id'] ) { ?>

esc_html__( 'Join Our Newsletter', 'beginner' ), 'before' => esc_html__( 'Subscribe to our mailing list and get useful stuff and updates to your email inbox', 'beginner' ), 'feed_id' => '', 'button_text' => __( 'Subscribe', 'beginner' ) ); $instance = wp_parse_args( (array) $instance, $defaults ); ?>