public static function getInstance()
 {
     if (!self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Ejemplo n.º 2
0
/**
 * @return Vc_Vendor_Preset
 */
function vc_vendor_preset()
{
    require_once vc_path_dir('AUTOLOAD_DIR', 'class-vc-vendor-presets.php');
    return Vc_Vendor_Preset::getInstance();
}