apply_filters( "tribe_template_context:{$hook_name}", array $context , string $file , array $name , self $template )
Allows filtering the Local context specifically to the template with the hook name passed to the method.
Contents
Parameters
- $context
-
(array) Local Context array of data.
- $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.12.13 | Introduced. |