PHP 클래스 Kirki_Settings, kirki

파일 보기 프로젝트 열기: aristath/kirki

보호된 프로퍼티들

프로퍼티 타입 설명
$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