WP_Customize_New_Menu_Section::__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.
Any supplied $args override class property defaults.
Method of the class: WP_Customize_New_Menu_Section{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$WP_Customize_New_Menu_Section = new WP_Customize_New_Menu_Section(); $WP_Customize_New_Menu_Section->__construct( $manager, $id, $args );
- $manager(WP_Customize_Manager) (required)
- Customizer bootstrap instance.
- $id(string) (required)
- A specific ID of the section.
- $args(array)
- Section arguments.
Default: array()
Changelog
Since 4.9.0 | Introduced. |
Deprecated since | 4.9.0 |
WP_Customize_New_Menu_Section::__construct() WP Customize New Menu Section:: construct code WP 6.8.1
public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) { _deprecated_function( __METHOD__, '4.9.0' ); parent::__construct( $manager, $id, $args ); }