apply_filters( "tribe_template_include_html:{$hook_name}", string $html , string $file , array $name , self $template )
Allow users to filter the PHP template include actions by name.
Contents
E.g.: tribe_template_include_html:events/blocks/parts/details
tribe_template_include_html:events/embed
tribe_template_include_html:tickets/login-to-purchase
Parameters
- $html
-
(string) The final HTML.
- $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.13.0 | Introduced. |