Tribe__Events__Community__Main::get_template( string $template_path, string $template_file )

Get the template file with an output buffer.


Parameters

$template_path

(string) (Required) The path.

$template_file

(string) (Required) The file.


Top ↑

Return

(string) The file's output.


Top ↑

Source

File: src/Tribe/Main.php

		public function get_template( $template_path, $template_file ) {
			ob_start();
			include $this->getTemplatePath( $template_path );
			return ob_get_clean();
		}

Top ↑

Changelog

Changelog
Version Description
1.0 Introduced.