Advertisement
MertcanGokgoz

Untitled

Feb 9th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. function neori_google_fonts() {
  2.  
  3.   $font_url = '';
  4.  
  5.   /*
  6.   Translators: If there are characters in your language that are not supported
  7.   by chosen font(s), translate this to 'off'. Do not translate into your own language.
  8.    */
  9.   if ( 'off' !== _x( 'off', 'Google font: on or off', 'neori' ) ) {
  10.     $font_url = add_query_arg( 'family', urlencode( 'Heebo:300,400,500,700|Assistant:500,600,700|PT Serif:400,700|&subset=latin,latin-ext' ), "//fonts.googleapis.com/css" );
  11.   }
  12.  
  13.   return $font_url;
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement