Settings::get_template()
Gets the template instance used to setup the rendering html.
Return
Source
File: src/Tickets/Commerce/Settings.php
public function get_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/admin-views/settings/tickets-commerce' );
$this->template->set_template_context_extract( true );
}
return $this->template;
}
Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |