Hooks::filter_template_file( string $file, array $name, object $template )
Filter the template file in case we’re in single event and we need to use the theme overrides.
Contents
See also
Parameters
- $file
-
(string) (Required) Complete path to include the PHP File
- $name
-
(array) (Required) Template name
- $template
-
(object) (Required) Instance of the Tribe__Template
Return
(string)
Source
File: src/Tribe/Views/V2/Hooks.php
public function filter_template_file( $file, $name, $template ) {
return $this->container->make( Template_Bootstrap::class )->filter_template_file( $file, $name, $template );
}
Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |