Property | Type | Description | |
---|---|---|---|
$icons_script | string | The script generated for ALL fields | |
$script_added | boolean | Whether the script has already been added to the customizer or not. |
Method | Description | |
---|---|---|
__construct ( ) | The class constructor | |
enqueue_script ( ) | Format the script in a way that will be compatible with WordPress. | |
generate_script ( array $args = [] ) : void | This works on a per-field basis. |
public enqueue_script ( ) |
public static generate_script ( array $args = [] ) : void | ||
$args | array | The field definition. |
return | void |
public static string $icons_script | ||
return | string |
public static bool $script_added | ||
return | boolean |