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

This method has been deprecated. Use WP_Customize_Control::__construct() instead.

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( WP_Customize_Manager $manager, $id, array $args = array() ) {
	_deprecated_function( __METHOD__, '4.9.0' );
	parent::__construct( $manager, $id, $args );
}

Changelog

VersionDescription
4.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.