Свойство | 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. |
Méthode | 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. |
Résultat | void |
public static string $icons_script | ||
Résultat | string |
public static bool $script_added | ||
Résultat | boolean |