function tw_init_options()
{
    $options = tw_get_options();
    $options = wp_parse_args($options, Axl_Testimonials_Widget::get_defaults());
    $options = Axl_Testimonials_Widget_Settings::validate_settings($options);
    update_option(Axl_Testimonials_Widget_Settings::ID, $options);
}
 public static function testimonials_slider($atts, $widget_number = null)
 {
     if (is_null($atts) || !is_array($atts)) {
         $atts = array();
     }
     if (empty($widget_number)) {
         $widget_number = self::$widget_number++;
         if (!isset($atts['random'])) {
             $atts['random'] = 1;
         }
     }
     $atts = wp_parse_args($atts, self::get_defaults());
     $atts = Axl_Testimonials_Widget_Settings::validate_settings($atts);
     $atts['paging'] = false;
     $atts['type'] = 'testimonials_slider';
     self::set_instance($widget_number);
     $atts['widget_number'] = $widget_number;
     $testimonials = array();
     $content = apply_filters('tw_cache_get', false, $atts);
     if (false === $content) {
         $testimonials = self::get_testimonials($atts);
         $content = self::get_testimonials_html($testimonials, $atts, false, $widget_number);
         $content = apply_filters('tw_cache_set', $content, $atts);
     }
     self::call_scripts_styles($testimonials, $atts, $widget_number);
     return $content;
 }