'bln-twp', 'description' => __('Use this widget to display a custom content in your sidebars.', 'bluelines')); $control_ops = array('id_base' => 'bln-twp'); $this->WP_Widget('bln-twp', 'Text Widget + ', $widget_ops, $control_ops); } // Display the widget public function widget($args, $instance) { extract($args); $title = $instance['title']; $content = $instance['content']; if (!empty($content)) { echo $before_widget; echo $before_title . $title . $after_title; $content = apply_filters('bln_twplus_content', $content); ?>