PHP 클래스 WP_Customize_Nav_Menu_Item_Control, wordpress

부터: 4.3.0
상속: extends WP_Customize_Control
파일 보기 프로젝트 열기: johnpbloch/wordpress

공개 프로퍼티들

프로퍼티 타입 설명
$setting WP_Customize_Nav_Menu_Item_Setting The nav menu item setting.
$type string Control type.

공개 메소드들

메소드 설명
__construct ( WP_Customize_Manager $manager, string $id, array $args = [] ) Constructor.
content_template ( ) JS/Underscore template for the control UI.
json ( ) : array Return parameters for this control.
render_content ( ) Don't render the control's content - it's rendered with a JS template.

메소드 상세

__construct() 공개 메소드

Constructor.
또한 보기: WP_Customize_Control::__construct()
부터: 4.3.0
public __construct ( WP_Customize_Manager $manager, string $id, array $args = [] )
$manager WP_Customize_Manager Customizer bootstrap instance.
$id string The control ID.
$args array Optional. Overrides class property defaults.

content_template() 공개 메소드

JS/Underscore template for the control UI.
부터: 4.3.0
public content_template ( )

json() 공개 메소드

Return parameters for this control.
부터: 4.3.0
public json ( ) : array
리턴 array Exported parameters.

render_content() 공개 메소드

Don't render the control's content - it's rendered with a JS template.
부터: 4.3.0
public render_content ( )

프로퍼티 상세

$setting 공개적으로 프로퍼티

The nav menu item setting.
부터: 4.3.0
public WP_Customize_Nav_Menu_Item_Setting $setting
리턴 WP_Customize_Nav_Menu_Item_Setting

$type 공개적으로 프로퍼티

Control type.
부터: 4.3.0
public string $type
리턴 string