WP_Customize_Manager::register_panel_type( string $panel )

Registers a customize panel type.


Description

Registered types are eligible to be rendered via JS and created dynamically.

Top ↑

See also


Top ↑

Parameters

$panel string Required
Name of a custom panel which is a subclass of WP_Customize_Panel.

Top ↑

Source

File: wp-includes/class-wp-customize-manager.php. View all references

public function register_panel_type( $panel ) {
	$this->registered_panel_types[] = $panel;
}


Top ↑

Changelog

Changelog
Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes

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