Tribe__Tickets_Plus__Tickets_View::get_template()
Gets the Event Tickets template instance used to setup the rendering html.
Return
(Tribe__Template) The template object.
Source
File: src/Tribe/Tickets_View.php
public function get_template(): Tribe__Template {
if ( empty( $this->template ) ) {
$this->template = new Tribe__Template();
$this->template->set_template_origin( Tribe__Tickets__Main::instance() );
$this->template->set_template_folder( 'src/views' );
$this->template->set_template_context_extract( true );
$this->template->set_template_folder_lookup( true );
}
return $this->template;
}
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |