__( 'Aspire Smart FAQ Widget for TAGS', 'text_domain' ), ) // 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 ) { // outputs the content of the widget // Two variables are coming in INSTANCE ARRAY , title and limit $title = apply_filters( 'widget_title', $instance['title'] ); $limit = $instance['limit']; $atts['tag_name'] = $title; $atts['limit'] = $limit; echo $args['before_widget'].'
Enter comma seperated multiple tags OR single tag slug.
Enter the numeric value that defines FAQs limit.