Customizer::filter_sections( TribeEventsCommunityViewsV2array<string,array<string,array>> $sections, Tribe__Customizer $customizer )
Filters the currently registered Customizer sections to add or modify them.
Contents
Parameters
- $sections
-
(<span class="TribeEventsCommunityViewsV2array<string,array<string,arrayTribeEventsCommunityViewsV2array<string,array<string,array<string,int|float|>>">TribeEventsCommunityViewsV2string>>>) (Required) The registered Customizer sections.
- $customizer
-
(Tribe__Customizer) (Required) The Customizer object.
Return
(TribeEventsCommunityViewsV2array<string,array<string,array<string,int|float|TribeEventsCommunityViewsV2string>>>) The filtered sections.
Source
File: src/Tribe/Views/V2/Customizer.php
public function filter_sections( array $sections, $customizer ) { // TODO Filter the sections. return $sections; }
Changelog
Version | Description |
---|---|
4.8.3 | Introduced. |