Property | Type | Description | |
---|---|---|---|
$backup_fonts | array | Standard Fonts | |
$callback | null | string | array | Callback. | |
$css | string | CSS | |
$field_type | string | Field Type. | |
$google_fonts | array | Google Fonts | |
$instance | null | object | The instance of this class (singleton pattern). | |
$option_name | null | string | Option Name. | |
$output | array | Output. | |
$settings | null | string | array | Settings. | |
$value | mixed | Value |
Method | Description | |
---|---|---|
add_prefixes ( array $css ) : array | Add prefixes if necessary. | |
css ( array $field ) : array | Get the CSS for a field. | |
get_instance ( ) : object | Get a single instance of this class | |
styles_parse ( array $css = [] ) : string | Gets the array of generated styles and creates the minimized, inline CSS. |
Method | Description | |
---|---|---|
__construct ( ) | The class constructor. |
public static add_prefixes ( array $css ) : array | ||
$css | array | The CSS definitions array. |
return | array |
public static get_instance ( ) : object | ||
return | object |
public static styles_parse ( array $css = [] ) : string | ||
$css | array | The CSS definitions array. |
return | string | The generated CSS. |
public static array $backup_fonts | ||
return | array |
public static array $google_fonts | ||
return | array |