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.


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.


Top ↑

Source #

File: src/Tribe/Template.php


Top ↑

Changelog #

Changelog
Version Description
4.11.0 Introduced.