__( 'Actionable News', 'actionable_news_widget_domain' ), ) ); } // Creating widget front-end // This is where the action happens public function widget( $args, $instance ) { $partner_id = $instance['partner_id']; // before and after widget arguments are defined by themes echo $args['before_widget']; if (!empty($partner_id)) { echo $args['before_title'] ?>