Tribe__Customizer::get_section( string $id )
Returns the section requested by ID.
Contents
Parameters
- $id
-
(string) (Required) The ID of the desired section.
Return
(boolean|Tribe__Customizer__Section) The requested section or boolean false if not found.
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 ]; }
Changelog
Version | Description |
---|---|
4.13.3 | Introduced. |