WordPress at a glance
function is not described

WP_Customize_Manager::get_panel() public WP 4.0.0

Retrieve a customize panel.

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

No Hooks.

Return

WP_Customize_Panel|null. Requested panel instance, if set.

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->get_panel( $id );
$id(string) (required)
Panel ID to get.

Changelog

Since 4.0.0 Introduced.

Code of WP_Customize_Manager::get_panel() WP 5.7.2

<?php
public function get_panel( $id ) {
	if ( isset( $this->panels[ $id ] ) ) {
		return $this->panels[ $id ];
	}
}