wp-content/themes/twentyfifteen/functions.php:371Register fonts for Twenty Fifteen.
string function twentyfifteen_fonts_url() { $fonts_url = ''; $fonts = array(); /* * translators: If there are characters in your language that are not supported * by Noto Sans, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Noto Sans font: on or off', 'twentyfifteen' ) ) { $fonts[] = 'noto-sans'; } /* * translators: If there are characters in your language that are not supported * by Noto Serif, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Noto Serif font: on or off', 'twentyfifteen' ) ) { $fonts[] = 'noto-serif'; } /* * translators: If there are characters in your language that are not supported * by Inconsolata, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Inconsolata font: on or off', 'twentyfifteen' ) ) { $fonts[] = 'inconsolata'; } if ( $fonts ) { $fonts_url = get_template_directory_uri() . '/assets/fonts/' . implode( '-plus-', $fonts ) . '.css'; } return $fonts_url; }Introduced in Twenty Fifteen 3.4 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/twentyfifteen/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.