WordPress at a glance
function is not described

WP_Customize_Manager::get_section() public WP 3.4.0

Retrieve a customize section.

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

No Hooks.

Return

WP_Customize_Section|null. The section, if set.

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->get_section( $id );
$id(string) (required)
Section ID.

Changelog

Since 3.4.0 Introduced.

Code of WP_Customize_Manager::get_section() WP 5.7.2

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