コード例 #1
0
 public static function google_css_import()
 {
     if (!($webfonts_in_use = self::google_check_if_should_load())) {
         return;
     }
     foreach ($webfonts_in_use['google'] as $key => $font) {
         $webfonts_in_use['google'][$key] = urlencode($font);
     }
     return '@import url(' . headway_format_url_ssl('http://fonts.googleapis.com/css?family=' . implode('|', $webfonts_in_use['google'])) . ');';
 }
コード例 #2
0
ファイル: functions.php プロジェクト: danaiser/hollandLawns
/**
 * @todo Document
 **/
function headway_cache_url()
{
    $uploads = wp_upload_dir();
    return apply_filters('headway_cache_url', headway_format_url_ssl($uploads['baseurl'] . '/headway/cache'));
}