WP_Customize_Manager::get_section( string $id ): WP_Customize_Section|void

In this article

Retrieves a customize section.

Parameters

$idstringrequired
Section ID.

Return

WP_Customize_Section|void The section, if set.

Source

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

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

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