프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$google_fonts | null | object | An array of our google fonts. | |
$mode | string | This is a todo item, not yet functional. |
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
__construct ( ) | The class constructor. |
public static get_all_fonts ( ) : array | ||
리턴 | array | All available fonts. |
public static get_all_variants ( ) : array | ||
리턴 | array |
public static get_backup_fonts ( ) : array | ||
리턴 | array |
public static get_font_choices ( ) : array | ||
리턴 | array |
public static get_google_font_subsets ( ) : array | ||
리턴 | array |
public static get_google_font_uri ( ) |
public static get_google_fonts ( ) : array | ||
리턴 | array | All Google Fonts. |
public static get_instance ( ) : object | ||
리턴 | object | Kirki_Fonts |
public static get_standard_fonts ( ) : array | ||
리턴 | array | Standard websafe fonts. |
public static is_google_font ( string $fontname ) : boolean | ||
$fontname | string | The name of the font we want to check. |
리턴 | boolean |