/** * Fetch all Custom CSS only one time * @since: 5.2.4 **/ public static function fillCSS() { if (empty(self::$css)) { $db = new RevSliderDB(); $customCss = array(); $result = $db->fetch(RevSliderGlobals::$table_css); if (!empty($result)) { $customCss = $result; } self::$css = $customCss; } }