WP_Customize_New_Menu_Section::__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.


Any supplied $args override class property defaults.

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

No Hooks.


null. Nothing.


$WP_Customize_New_Menu_Section = new WP_Customize_New_Menu_Section();
$WP_Customize_New_Menu_Section->__construct( $manager, $id, $args );
$manager(WP_Customize_Manager) (required)
Customizer bootstrap instance.
$id(string) (required)
A specific ID of the section.
Section arguments.
Default: array()


Since 4.9.0 Introduced.
Deprecated 4.9.0

Code of WP_Customize_New_Menu_Section::__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 );