PHP Class Kirki_Field_Multicolor, kirki

Inheritance: extends Kirki_Field
显示文件 Open project: aristath/kirki

Public Methods

Method Description
sanitize ( array $value ) : array The method that will be used as a sanitize_callback.

Protected Methods

Method Description
set_choices ( ) Sets the $choices
set_sanitize_callback ( ) Sets the $sanitize_callback
set_type ( ) Sets the control type.

Method Details

sanitize() public method

The method that will be used as a sanitize_callback.
public sanitize ( array $value ) : array
$value array The value to be sanitized.
return array The value.

set_choices() protected method

Sets the $choices
protected set_choices ( )

set_sanitize_callback() protected method

Sets the $sanitize_callback
protected set_sanitize_callback ( )

set_type() protected method

Sets the control type.
protected set_type ( )