Warning: This method has been deprecated.

WP_Customize_New_Menu_Section::__construct( WP_Customize_Manager $manager, string $id, array $args = array() )

Constructor.


Description

Any supplied $args override class property defaults.


Top ↑

Parameters

$manager WP_Customize_Manager Required
Customizer bootstrap instance.
$id string Required
A specific ID of the section.
$args array Optional
Section arguments.

Default: array()


Top ↑

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 );
}


Top ↑

Changelog

Changelog
Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.