wp-content/themes/twentyseventeen/functions.php:294Register custom fonts.
string function twentyseventeen_fonts_url() { $fonts_url = ''; /* * translators: If there are characters in your language that are not supported * by Libre Franklin, translate this to 'off'. Do not translate into your own language. */ $libre_franklin = _x( 'on', 'Libre Franklin font: on or off', 'twentyseventeen' ); if ( 'off' !== $libre_franklin ) { $fonts_url = get_template_directory_uri() . '/assets/fonts/font-libre-franklin.css'; } return esc_url_raw( $fonts_url ); }Introduced in Twenty Seventeen 3.2 Replaced Google URL with self-hosted fonts.. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentyseventeen/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.