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.

See also


Top ↑

Parameters

$file

(string) (Required) Complete path to include the PHP File

$name

(array) (Required) Template name

$template

(object) (Required) Instance of the Tribe__Template


Top ↑

Return

(string)


Top ↑

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 );
	}

Top ↑

Changelog

Changelog
Version Description
5.0.0 Introduced.