W3cubDocs

/WordPress

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

Constructor.

Description

See also

Parameters

$managerWP_Customize_Managerrequired
Customizer bootstrap instance.
$idstringrequired
The control ID.
$argsarrayoptional
Arguments to override class property defaults.
See WP_Customize_Control::__construct() for information on accepted arguments.

Default:array()

Source

public function __construct( $manager, $id, $args = array() ) {
	parent::__construct( $manager, $id, $args );
}

Changelog

Version Description
4.3.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_nav_menu_item_control/__construct