PHP 클래스 Kirki_Field_Spacing, kirki

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

공개 메소드들

메소드 설명
sanitize ( array $value ) : array Sanitizes the value.

보호된 메소드들

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

메소드 상세

sanitize() 공개 메소드

Sanitizes the value.
public sanitize ( array $value ) : array
$value array The value.
리턴 array

set_choices() 보호된 메소드

Adds a pseudo-element "controls" that helps with the JS API.
protected set_choices ( )

set_js_vars() 보호된 메소드

Currentlly postMessage does not work with spacing fields so we have to force using the refresh mode.
protected set_js_vars ( )

set_sanitize_callback() 보호된 메소드

Sets the $sanitize_callback.
protected set_sanitize_callback ( )

set_type() 보호된 메소드

Sets the control type.
protected set_type ( )