Report_Abstract::get_template()
Gets the template instance used to setup the rendering of the page.
Return
Source
File: src/Tickets/Commerce/Reports/Report_Abstract.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/commerce/reports' );
$this->template->set_template_context_extract( true );
}
return $this->template;
}
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |