wp-content/themes/twentysixteen/functions.php:343Registers fonts for Twenty Sixteen.
string function twentysixteen_fonts_url() { $fonts_url = ''; $fonts = array(); /* * translators: If there are characters in your language that are not supported * by Merriweather, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Merriweather font: on or off', 'twentysixteen' ) ) { $fonts[] = 'merriweather'; } /* * translators: If there are characters in your language that are not supported * by Montserrat, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Montserrat font: on or off', 'twentysixteen' ) ) { $fonts[] = 'montserrat'; } /* * 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', 'twentysixteen' ) ) { $fonts[] = 'inconsolata'; } if ( $fonts ) { $fonts_url = get_template_directory_uri() . '/fonts/' . implode( '-plus-', $fonts ) . '.css'; } return $fonts_url; }Introduced in Twenty Sixteen 2.9 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/twentysixteen/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.