'AP_Widget_BookNow', 'description' => __('This widget allows you to quickly drop in an Appointment-Plus “Book Now” or “Schedule Now” button, which links directly to an Appointment-Plus online scheduling account.')); $control_ops = array('width' => 300, 'height' => 250); parent::__construct('text', __('Appointment-Plus Scheduling'), $widget_ops, $control_ops); } function widget($args, $instance) { extract($args, EXTR_SKIP); echo $before_widget; $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']); $text = empty($instance['text']) ? '' : apply_filters('widget_text', $instance['text']); if (!empty($title)) echo $before_title . $title . $after_title;; ?>
'Book Now', 'text' => '' ) ); $title = strip_tags($instance['title']); $text = esc_textarea($instance['text']); ?>