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 #


(array) Indexed array containing the namespace as the key and path to strpos.


(string) Path we will do the strpos to validate a given namespace.


(self) Current instance of the template class.

Top ↑

Source #

File: src/Tribe/Template.php

Top ↑

Changelog #

Version Description
4.11.0 Introduced.