Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
smart-slider-3
/
Nextend
/
Framework
/
Asset
/
Fonts
/
Google
:
Google.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?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(); } } }