public function loadFrontEndScripts() { foreach ($this->googleFontsOptions as $googleFontOption) { $font = $googleFontOption->getValue(); if (empty($font)) { continue; } wp_enqueue_style('tf-google-webfont-' . strtolower(str_replace(' ', '-', $font['name'])), TitanFrameworkOptionSelectGooglefont::formScript($font)); } }