WP_Customize_New_Menu_Control::__construct
Deprecated since 4.9.0. It is no longer supported and may 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.
Returns
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.8.3
public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {
_deprecated_function( __METHOD__, '4.9.0' );
parent::__construct( $manager, $id, $args );
}