advantage_google_font_url

The Advantage advantage google font url function.

Description

advantage_google_font_url( (string) $name ); 

Parameters (1)

0. $name (string)
The name.

Usage

  1. if ( !function_exists( 'advantage_google_font_url' ) ) { 
  2. require_once '/inc/lib-functions.php'; 
  3.  
  4. // The name. 
  5. $name = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = advantage_google_font_url($name); 
  9.  

Defined (1)

The function is defined in the following location(s).

/inc/lib-functions.php  
  1. function advantage_google_font_url( $name ) { 
  2. return '//fonts.googleapis.com/css?family=' . str_replace(' ', '+', $name) . ':400, 400italic, 700italic, 700';