WordPress at a glance
function is not described

WP_Customize_Manager::register_panel_type() public WP 4.3.0

Register a customize panel type.

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

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->register_panel_type( $panel );
$panel(string) (required)
Name of a custom panel which is a subclass of WP_Customize_Panel.

Notes

Changelog

Since 4.3.0 Introduced.

Code of WP_Customize_Manager::register_panel_type() WP 5.7.2

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