do_action( "tribe_template_before_include:{$hook_name}", string $file, array $name, self $template )

Fires an Action for a given template name before including the template file

E.g.: tribe_template_before_include:events/blocks/parts/details tribe_template_before_include:events/embed tribe_template_before_include:tickets/login-to-purchase


Parameters #

$file

(string) Complete path to include the PHP File

$name

(array) Template name

$template

(self) Current instance of the Tribe__Template


Top ↑

Source #

File: src/Tribe/Template.php


Top ↑

Changelog #

Changelog
Version Description
4.7.20 Introduced.