Tribe__Customizer::get_section( string $id )

Returns the section requested by ID.


Parameters

$id

(string) (Required) The ID of the desired section.


Top ↑

Return

(boolean|Tribe__Customizer__Section) The requested section or boolean false if not found.


Top ↑

Source

File: src/Tribe/Customizer.php

	public function get_section( $id ) {
		$sections = $this->get_loaded_sections();

		if ( empty( $sections[ $id ] ) ) {
			return false;
		}

		return $sections[ $id ];
	}

Top ↑

Changelog

Changelog
Version Description
4.13.3 Introduced.