Tribe__Template::get_template_origin_base_folder()

Fetches which base folder we look for templates in the origin plugin.


Return

(array) The base folders we look for templates in the origin plugin.


Top ↑

Source

File: src/Tribe/Template.php

	public function get_template_origin_base_folder() {
		/**
		 * Allows filtering of the base path for templates.
		 *
		 * @since 4.10.2
		 *
		 * @param array  $namespace Which is the base folder we will look for files in the plugin.
		 * @param self   $template  Current instance of the Tribe__Template.
		 */
		return apply_filters( 'tribe_template_origin_base_folder', $this->template_origin_base_folder, $this );
	}

Top ↑

Changelog

Changelog
Version Description
4.10.2 Introduced.