public function __construct()
 {
     $classname = __CLASS__;
     $description = esc_html__('Your site\'s most recent testimonials.', 'testimonials-widget');
     $id_base = self::ID;
     self::$title = esc_html__('Recent Testimonials', 'testimonials-widget');
     parent::__construct($classname, $description, $id_base, self::$title);
 }
 public static function testimonials_recent($atts, $widget_number = null)
 {
     $atts = wp_parse_args($atts, Axl_Testimonials_Widget_Recent_Testimonials_Widget::get_defaults());
     $atts = Axl_Testimonials_Widget_Recent_Testimonials_Widget::validate_settings($atts);
     $atts['type'] = 'testimonials_recent';
     $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_recent_html($atts);
         $content = apply_filters('tw_cache_set', $content, $atts);
     }
     self::call_scripts_styles(array(), $atts, $instance);
     return $content;
 }