PHP Class Kirki_Field_Select, kirki

Inheritance: extends Kirki_Field
Afficher le fichier Open project: aristath/kirki

Méthodes publiques

Méthode Description
sanitize ( array $value ) : string | array Sanitizes select control values.

Méthodes protégées

Méthode Description
set_multiple ( ) Sets the $multiple
set_sanitize_callback ( ) Sets the $sanitize_callback
set_type ( ) Sets the control type.

Method Details

sanitize() public méthode

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

set_multiple() protected méthode

Sets the $multiple
protected set_multiple ( )

set_sanitize_callback() protected méthode

Sets the $sanitize_callback
protected set_sanitize_callback ( )

set_type() protected méthode

Sets the control type.
protected set_type ( )