PHP 클래스 Kirki_Field_Checkbox, kirki

상속: extends Kirki_Field
파일 보기 프로젝트 열기: aristath/kirki 1 사용 예제들

공개 메소드들

메소드 설명
sanitize ( boolean | string $value = null ) : boolean Sanitizes checkbox values.

보호된 메소드들

메소드 설명
set_default ( ) Sets the default value.
set_sanitize_callback ( ) Sets the $sanitize_callback.
set_type ( ) Sets the control type.

메소드 상세

sanitize() 공개 정적인 메소드

Sanitizes checkbox values.
public static sanitize ( boolean | string $value = null ) : boolean
$value boolean | string The checkbox value.
리턴 boolean

set_default() 보호된 메소드

Sets the default value.
protected set_default ( )

set_sanitize_callback() 보호된 메소드

Sets the $sanitize_callback.
protected set_sanitize_callback ( )

set_type() 보호된 메소드

Sets the control type.
protected set_type ( )