apply_filters( 'tribe_template_origin_namespace_map', array $namespace_map , string $path , self $template )
Allows more namespaces to be added based on the path of the file we are loading.
Contents
Parameters
- $namespace_map
-
(array) Indexed array containing the namespace as the key and path to
strpos
. - $path
-
(string) Path we will do the
strpos
to validate a given namespace. - $template
-
(self) Current instance of the template class.
Source
File: src/Tribe/Template.php
Changelog
Version | Description |
---|---|
4.11.0 | Introduced. |