Hooks::filter_template_path_list( array $folders = array() )
Filters the list of folders TEC will look up to find templates to add the ones defined by PRO.
Contents
Parameters
- $folders
-
(array) (Optional) The current list of folders that will be searched template files.
Default value: array()
Return
(array) The filtered list of folders that will be searched for the templates.
Source
File: src/Tribe/Views/V2/Hooks.php
public function filter_template_path_list( array $folders = [] ) { $folders[] = [ 'id' => 'events-pro', 'priority' => 25, 'path' => \Tribe__Events__Pro__Main::instance()->pluginPath . 'src/views/v2', ]; return $folders; }
Changelog
Version | Description |
---|---|
4.7.5 | Introduced. |