do_action( "tribe_template_before_include:{$legacy_hook_name}", string $file , array $name , self $template )
Fires an Action for a given template name before including the template file
Contents
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
Source
File: src/Tribe/Template.php
Changelog
Version | Description |
---|---|
4.7.20 | Introduced. |