PHP Класс Kirki_Settings, kirki

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$setting_types array The setting-stypes we're using.
$wp_customize WP_Customize_Manager TYhe global $wp_customize object.

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

Метод Описание
__construct ( array $args = [] ) Creates a new Kirki_Settings object.

Приватные методы

Метод Описание
add_setting ( string $classname, string $setting, string | array $default, string $type, string $capability, string $transport, string | array $sanitize_callback ) This is where we're finally adding the setting to the Customizer.
add_settings ( array $args = [] ) Adds the settings for this field.
set_setting_types ( ) Sets the $this->setting_types property.

Описание методов

__construct() публичный Метод

Class constructor.
public __construct ( array $args = [] )
$args array The field definition as sanitized in Kirki_Field.

Описание свойств

$setting_types защищенное свойство

The setting-stypes we're using.
protected array $setting_types
Результат array

$wp_customize защищенное свойство

TYhe global $wp_customize object.
protected WP_Customize_Manager $wp_customize
Результат WP_Customize_Manager