프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
__construct ( ) | The class constructor. |
public static add_prefixes ( array $css ) : array | ||
$css | array | The CSS definitions array. |
리턴 | array |
public static get_instance ( ) : object | ||
리턴 | object |
public static styles_parse ( array $css = [] ) : string | ||
$css | array | The CSS definitions array. |
리턴 | string | The generated CSS. |