public function __construct()
 {
     $classname = __CLASS__;
     $description = esc_html__('A list or dropdown of testimonials\' categories.', 'testimonials-widget');
     $id_base = self::ID;
     self::$title = esc_html__('Testimonials Categories', 'testimonials-widget');
     parent::__construct($classname, $description, $id_base, self::$title);
 }
 public static function testimonials_categories($atts, $widget_number = null)
 {
     $atts = wp_parse_args($atts, Testimonials_Widget_Categories_Widget::get_defaults());
     $atts = Testimonials_Widget_Categories_Widget::validate_settings($atts);
     $atts['type'] = 'testimonials_categories';
     $instance = !empty($widget_number) ? $widget_number : self::add_instance();
     $atts['widget_number'] = $instance;
     $content = apply_filters('tw_cache_get', false, $atts);
     if (false === $content) {
         $content = self::get_categories_html($atts);
         $content = apply_filters('tw_cache_set', $content, $atts);
     }
     self::call_scripts_styles(array(), $atts, $instance);
     return $content;
 }