function ya_googlefonts_script() { wp_enqueue_style('ya-googlefonts', ya_typography_webfonts(), array(), '1.0.0'); }
function ya_typography_webfonts_cache() { $data = get_transient('ya_typography_webfont'); //if ( $data === false ) { $data = ya_typography_webfonts(); set_transient('ya_typography_webfont', $data, 0); //} echo $data; }