PHP 클래스 Kirki_Control, kirki

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

보호된 프로퍼티들

프로퍼티 타입 설명
$control_types array An array of all available control types.
$wp_customize WP_Customize_Manager The $wp_customize WordPress global.

공개 메소드들

메소드 설명
__construct ( array $args ) The class constructor.

보호된 메소드들

메소드 설명
add_control ( array $args ) Adds the control.

비공개 메소드들

메소드 설명
get_control_class_name ( array $args ) : string Get the class name of the class needed to create tis control.
set_control_types ( ) Sets the $this->control_types property.

메소드 상세

__construct() 공개 메소드

Creates the actual controls in the customizer.
public __construct ( array $args )
$args array The field definition as sanitized in Kirki_Field.

add_control() 최종 보호된 메소드

Adds the control.
final protected add_control ( array $args )
$args array The field definition as sanitized in Kirki_Field.

프로퍼티 상세

$control_types 보호되어 있는 프로퍼티

An array of all available control types.
protected array $control_types
리턴 array

$wp_customize 보호되어 있는 프로퍼티

The $wp_customize WordPress global.
protected WP_Customize_Manager $wp_customize
리턴 WP_Customize_Manager