PHP 클래스 Kirki_Field_Multicolor, kirki

상속: extends Kirki_Field
파일 보기 프로젝트 열기: aristath/kirki

공개 메소드들

메소드 설명
sanitize ( array $value ) : array The method that will be used as a sanitize_callback.

보호된 메소드들

메소드 설명
set_choices ( ) Sets the $choices
set_sanitize_callback ( ) Sets the $sanitize_callback
set_type ( ) Sets the control type.

메소드 상세

sanitize() 공개 메소드

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

set_choices() 보호된 메소드

Sets the $choices
protected set_choices ( )

set_sanitize_callback() 보호된 메소드

Sets the $sanitize_callback
protected set_sanitize_callback ( )

set_type() 보호된 메소드

Sets the control type.
protected set_type ( )