PHP Class Kirki_Field_Select, kirki

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

Public Methods

Method Description
sanitize ( array $value ) : string | array Sanitizes select control values.

Protected Methods

Method Description
set_multiple ( ) Sets the $multiple
set_sanitize_callback ( ) Sets the $sanitize_callback
set_type ( ) Sets the control type.

Method Details

sanitize() public method

Sanitizes select control values.
Since: 2.2.8
public sanitize ( array $value ) : string | array
$value array The value.
return string | array

set_multiple() protected method

Sets the $multiple
protected set_multiple ( )

set_sanitize_callback() protected method

Sets the $sanitize_callback
protected set_sanitize_callback ( )

set_type() protected method

Sets the control type.
protected set_type ( )