skt_black_is_google_font

The SKT Black skt black is google font function.

Description

skt_black_is_google_font( $font ); 

Parameters (1)

0. $font
The font.

Usage

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

Defined (1)

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

/inc/custom-functions.php  
  1. function skt_black_is_google_font( $font ) { 
  2. $notGoogleFont = array( 'Arial', 'Comic Sans MS', 'FreeSans', 'Georgia', 'Lucida Sans Unicode', 'Palatino Linotype', 'Symbol', 'Tahoma', 'Trebuchet MS', 'Verdana' ); 
  3. if( in_array($font, $notGoogleFont) ) { 
  4. return false; 
  5. }else{ 
  6. return true;