WP_Customize_New_Menu_Section::__construct( WP_Customize_Manager $manager, string $id, array $args = array() )
Constructor.
Description Description
Any supplied $args override class property defaults.
Parameters Parameters
- $manager
-
(WP_Customize_Manager) (Required) Customizer bootstrap instance.
- $id
-
(string) (Required) An specific ID of the section.
- $args
-
(array) (Optional) Section arguments.
Default value: array()
Source Source
File: wp-includes/customize/class-wp-customize-new-menu-section.php
public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) { _deprecated_file( basename( __FILE__ ), '4.9.0' ); // @todo Move this outside of class, and remove its require_once() from class-wp-customize-section.php. See #42364. parent::__construct( $manager, $id, $args ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |