WP_Customize_New_Menu_Control::__construct()
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.
Method of the class: WP_Customize_New_Menu_Control{}
No Hooks.
Return
null
. Nothing (null).
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 since | 4.9.0 |
WP_Customize_New_Menu_Control::__construct() WP Customize New Menu Control:: construct code WP 6.6.2
public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) { _deprecated_function( __METHOD__, '4.9.0' ); parent::__construct( $manager, $id, $args ); }