On this page
WP_Customize_New_Menu_Section::__construct( WP_Customize_Manager $manager, string $id, array $args = array() )
This method has been deprecated.
Constructor.
Description
Any supplied $args override class property defaults.
Parameters
$managerWP_Customize_Manager Required-
Customizer bootstrap instance.
$idstring Required-
A specific ID of the section.
$argsarray Optional-
Section arguments.
Default:
array()
Source
File: wp-includes/customize/class-wp-customize-new-menu-section.php. View all references
public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {
_deprecated_function( __METHOD__, '4.9.0' );
parent::__construct( $manager, $id, $args );
}
Related
Uses
| Uses | Description |
|---|---|
| WP_Customize_Section::__construct() wp-includes/class-wp-customize-section.php | Constructor. |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_new_menu_section/__construct