Свойство | Тип | Описание | |
---|---|---|---|
$script_added | boolean | Whether the script has already been added to the customizer or not. | |
$tooltip_script | string | The script generated for ALL fields |
Метод | Описание | |
---|---|---|
__construct ( ) | The class constructor | |
enqueue_script ( ) | Format the script in a way that will be compatible with WordPress. | |
generate_script ( array $args = [] ) : void | Generates the scripts needed for tooltips. |
public enqueue_script ( ) |
public static generate_script ( array $args = [] ) : void | ||
$args | array | The field definition. |
Результат | void |
public static bool $script_added | ||
Результат | boolean |
public static string $tooltip_script | ||
Результат | string |