165functiontwentytwelve_get_font_url(){166$font_url='';167168/*169 * translators: If there are characters in your language that are not supported170 * by Open Sans, translate this to 'off'. Do not translate into your own language.171 */172if('off'!==_x('on','Open Sans font: on or off','twentytwelve')){173$font_url=get_template_directory_uri().'/fonts/font-open-sans.css';174}175176return$font_url;177}
History
Introduced in Twenty Twelve 3.9 Replaced Google URL with self-hosted font.. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
Twenty Twelve 1.2
Twenty Twelve 1.2from the docblock
Twenty Twelve 3.9 Replaced Google URL with self-hosted font.
Twenty Twelve 3.9 Replaced Google URL with self-hosted font.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 7.0.4 tag, from src/wp-content/themes/twentytwelve/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.