PHP Class Kirki_Controls_Select_Control, kirki

Inheritance: extends Kirki_Customize_Control
Mostrar archivo Open project: aristath/kirki

Public Properties

Property Type Description
$multiple integer Set to 1 for single-select.
$type string The control type.

Public Methods

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

Protected Methods

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

Method Details

content_template() protected method

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 method

Enqueue control related scripts/styles.
public enqueue ( )

to_json() public method

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

Property Details

$multiple public_oe property

Set to 1 for single-select.
public int $multiple
return integer

$type public_oe property

The control type.
public string $type
return string