Tribe__Events__Community__Main::get_template( string $template_path, string $template_file )
Get the template file with an output buffer.
Contents
Parameters
- $template_path
-
(string) (Required) The path.
- $template_file
-
(string) (Required) The file.
Return
(string) The file's output.
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();
}
Changelog
| Version | Description |
|---|---|
| 1.0 | Introduced. |