__( 'A search form for your site.', 'allcom' ), ) // Args ); } /** * Front-end display of widget. * * @see WP_Widget::widget() * * @param array $args Widget arguments. * @param array $instance Saved values from database. */ public function widget( $args, $instance ) { extract( $args ); $button = apply_filters( 'widget_button', $instance['button'] ); $button_text = apply_filters( 'widget_button_text', $instance['button_text'] ); $color = apply_filters( 'widget_color', $instance['color'] ); $placeholder_text = apply_filters( 'widget_placeholder_text', $instance['placeholder_text'] ); $shape = apply_filters( 'widget_shape', $instance['shape'] ); $title = apply_filters( 'widget_title', $instance['title'] ); echo $before_widget; if ( ! empty( $title ) ) { echo $before_title . $title . $after_title; } ?>