Property | Type | Description | |
---|---|---|---|
$setting | WP_Customize_Nav_Menu_Item_Setting | The nav menu item setting. | |
$type | string | Control type. |
Method | Description | |
---|---|---|
__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. |
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. |
public content_template ( ) |
public render_content ( ) |
public WP_Customize_Nav_Menu_Item_Setting $setting | ||
return | WP_Customize_Nav_Menu_Item_Setting |