public static function generate_css($atts, $widget_number = null) { $atts['subtype'] = 'css'; $css = apply_filters('tw_cache_get', false, $atts); if (false === $css) { $css = self::get_testimonials_html_css($atts, $widget_number); $css = apply_filters('tw_cache_set', $css, $atts); } if (!empty($css)) { self::$css = array_merge($css, self::$css); add_action('wp_footer', array(__CLASS__, 'get_testimonials_css'), 20); } }