Property | Type | Description | |
---|---|---|---|
$google_fonts | null | object | An array of our google fonts. | |
$mode | string | This is a todo item, not yet functional. |
Method | Description | |
---|---|---|
get_all_fonts ( ) : array | Compile font options from different sources. | |
get_all_variants ( ) : array | Returns an array of all available variants. | |
get_backup_fonts ( ) : array | Return an array of backup fonts based on the font-category | |
get_font_choices ( ) : array | Gets available options for a font. | |
get_google_font_subsets ( ) : array | Returns an array of all available subsets. | |
get_google_font_uri ( ) | Dummy function to avoid issues with backwards-compatibility. | |
get_google_fonts ( ) : array | Return an array of all available Google Fonts. | |
get_instance ( ) : object | Get the one, true instance of this class. | |
get_standard_fonts ( ) : array | Return an array of standard websafe fonts. | |
is_google_font ( string $fontname ) : boolean | Determine if a font-name is a valid google font or not. |
Method | Description | |
---|---|---|
__construct ( ) | The class constructor. |
public static get_all_fonts ( ) : array | ||
return | array | All available fonts. |
public static get_all_variants ( ) : array | ||
return | array |
public static get_backup_fonts ( ) : array | ||
return | array |
public static get_font_choices ( ) : array | ||
return | array |
public static get_google_font_subsets ( ) : array | ||
return | array |
public static get_google_font_uri ( ) |
public static get_google_fonts ( ) : array | ||
return | array | All Google Fonts. |
public static get_instance ( ) : object | ||
return | object | Kirki_Fonts |
public static get_standard_fonts ( ) : array | ||
return | array | Standard websafe fonts. |
public static is_google_font ( string $fontname ) : boolean | ||
$fontname | string | The name of the font we want to check. |
return | boolean |
public static string $mode | ||
return | string |