Свойство | Type | Description | |
---|---|---|---|
$google_fonts | null | object | An array of our google fonts. | |
$mode | string | This is a todo item, not yet functional. |
Méthode | 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. |
Méthode | Description | |
---|---|---|
__construct ( ) | The class constructor. |
public static get_all_fonts ( ) : array | ||
Résultat | array | All available fonts. |
public static get_all_variants ( ) : array | ||
Résultat | array |
public static get_backup_fonts ( ) : array | ||
Résultat | array |
public static get_font_choices ( ) : array | ||
Résultat | array |
public static get_google_font_subsets ( ) : array | ||
Résultat | array |
public static get_google_font_uri ( ) |
public static get_google_fonts ( ) : array | ||
Résultat | array | All Google Fonts. |
public static get_instance ( ) : object | ||
Résultat | object | Kirki_Fonts |
public static get_standard_fonts ( ) : array | ||
Résultat | array | Standard websafe fonts. |
public static is_google_font ( string $fontname ) : boolean | ||
$fontname | string | The name of the font we want to check. |
Résultat | boolean |
public static string $mode | ||
Résultat | string |