Property | Type | Description | |
---|---|---|---|
$script_added | boolean | Whether the script has already been added to the customizer or not. | |
$tooltip_script | string | The script generated for ALL fields |
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 | Generates the scripts needed for tooltips. |
public enqueue_script ( ) |
public static generate_script ( array $args = [] ) : void | ||
$args | array | The field definition. |
return | void |
public static bool $script_added | ||
return | boolean |
public static string $tooltip_script | ||
return | string |