Kirki_Fonts::get_google_font_uri PHP Method

get_google_font_uri() public static method

This is not functional, but it will prevent PHP Fatal errors.
public static get_google_font_uri ( )
        public static function get_google_font_uri()
        {
        }

Usage Example

Ejemplo n.º 1
0
 /**
  * Enqueue scripts js or css
  *
  * @return void
  * @access public
  */
 public function enqueueScripts()
 {
     $font = $this->getValue();
     if (\Kirki_Fonts::is_google_font($font)) {
         $font_uri = \Kirki_Fonts::get_google_font_uri(array($font));
         wp_enqueue_style('googlefonts', $font_uri);
     }
 }
All Usage Examples Of Kirki_Fonts::get_google_font_uri