WP_Customize_New_Menu_Control::__construct()publicWP 4.9.0

Deprecated from version 4.9.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Constructor.

{} It's a method of the class: WP_Customize_New_Menu_Control{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Customize_New_Menu_Control = new WP_Customize_New_Menu_Control();
$WP_Customize_New_Menu_Control->__construct( $manager, $id, $args );
$manager(WP_Customize_Manager) (required)
Customizer bootstrap instance.
$id(string) (required)
The control ID.
$args(array)
Arguments to override class property defaults. See WP_Customize_Control::__construct() for information on accepted arguments.
Default: empty array

Notes

Changelog

Since 4.9.0 Introduced.
Deprecated 4.9.0

Code of WP_Customize_New_Menu_Control::__construct() WP 6.0

public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {
	_deprecated_function( __METHOD__, '4.9.0' );
	parent::__construct( $manager, $id, $args );
}