'widget-latest-posts', 'description' => __( 'The widget shows latest posts.', 'billow' ), ); $control_ops = array( 'id_base' => 'blw_latest_posts_widget', ); parent::__construct( 'blw_latest_posts_widget', 'Latest Posts Widget', $widget_ops, $control_ops ); } /** * 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 ) { echo $args['before_widget']; ?>