PHP Class Kirki_Controls_Color_Control, kirki

See also: https://github.com/23r9i0/wp-color-picker-alpha
Inheritance: extends Kirki_Customize_Control
Afficher le fichier Open project: aristath/kirki

Méthodes publiques

Свойство Type Description
$palette boolean Colorpicker palette
$type string The control type.

Méthodes publiques

Méthode Description
enqueue ( ) Enqueue control related scripts/styles.
to_json ( ) Refresh the parameters passed to the JavaScript via JSON.

Méthodes protégées

Méthode Description
content_template ( ) An Underscore (JS) template for this control's content (but not its container).

Method Details

content_template() protected méthode

Class variables for this control class are available in the data JS object; export custom variables by overriding {@see \Kirki_Customize_Control::to_json()}.
See also: WP_Customize_Control::print_template()
protected content_template ( )

enqueue() public méthode

Enqueue control related scripts/styles.
public enqueue ( )

to_json() public méthode

Refresh the parameters passed to the JavaScript via JSON.
public to_json ( )

Property Details

$palette public_oe property

Colorpicker palette
public bool $palette
Résultat boolean

$type public_oe property

The control type.
public string $type
Résultat string