PHP Класс Kirki_Field_Spacing, kirki

Наследование: extends Kirki_Field_Number
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )