WP_Customize_Nav_Menu_Item_Setting::__construct

SummerySummery

Constructor.

Syntax

WP_Customize_Nav_Menu_Item_Setting::__construct( WP_Customize_Manager $manager, string $id, array $args = array() )

DescriptionDescription

Any supplied $args override class property defaults.

ParametersParameters

$manager

(WP_Customize_Manager) (Required) Customizer bootstrap instance.

$id

(string) (Required) A specific ID of the setting. Can be a theme mod or option name.

$args

(array) (Optional) Setting arguments.

Default value: array()

SourceSource

File: wp-includes/customize/class-wp-customize-nav-menu-item-setting.php


			

ChangelogChangelog

Changelog
Version Description
4.3.0 Introduced.
Scroll to Top