Docs

wptt_get_webfont_url( string $url, string $format = 'woff2' ): string

Get a stylesheet URL for a webfont.

Parameters

$urlstringrequired
The URL of the remote webfont.
$formatstringoptional
The font-format. If you need to support IE, change this to "woff".

Default:'woff2'

Return

string Returns the CSS.

Changelog

VersionDescription
1.1.0Introduced.