????

Your IP : 3.12.76.129


Current Path : /home/ncom/www/wp-content/plugins/smart-slider-3/Nextend/Framework/Asset/Fonts/Google/
Upload File :
Current File : //home/ncom/www/wp-content/plugins/smart-slider-3/Nextend/Framework/Asset/Fonts/Google/Google.php

<?php


namespace Nextend\Framework\Asset\Fonts\Google;


use Nextend\Framework\Asset\AssetManager;

class Google {

    public static $enabled = false;

    public static $excludedFamilies = array();

    public static function addFont($family, $style = '400') {
        AssetManager::$googleFonts->addFont($family, $style);
    }

    public static function addFontExclude($family) {
        self::$excludedFamilies[] = $family;
    }

    public static function build() {
        if (self::$enabled) {
            AssetManager::$googleFonts->loadFonts();
        }
    }
}