b0y-101 Mini Shell


Current Path : E:/wordpress/wp-content/plugins/smart-slider-3/Nextend/Framework/Asset/Fonts/Google/
File Upload :
Current File : E:/wordpress/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();
        }
    }
}

Copyright © 2019 by b0y-101