WP_Customize_New_Menu_Control::__construct( WP_Customize_Manager $manager, string $id, array $args = array() )
Constructor.
Parameters
- $manager
-
(Required) Manager.
- $id
-
(Required) ID.
- $args
-
(Optional) Args.
Default value: array()
Source
File: wp-includes/customize/class-wp-customize-new-menu-control.php
public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {
_deprecated_file( basename( __FILE__ ), 'WP-4.9.0' ); // @todo Move this outside of class in WP-5.0, and remove its require_once() from class-wp-customize-control.php. See https://core.trac.wordpress.org/ticket/42364.
parent::__construct( $manager, $id, $args );
}
Changelog
Version | Description |
---|---|
WP-4.9.0 | Introduced. |