Admin_Template
Class Admin_Template
Source
File: src/Tribe/Views/V2/Widgets/Admin_Template.php
class Admin_Template extends \Tribe__Template {
/**
* Template constructor.
*
* @since 5.2.0
*/
public function __construct() {
$this->set_template_origin( tribe( 'events-pro.main' ) );
$this->set_template_folder( 'src/admin-views' );
// We specifically don't want to look up template files here.
$this->set_template_folder_lookup( false );
// Configures this templating class extract variables.
$this->set_template_context_extract( true );
}
}
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
Methods
- __construct — Template constructor.