Admin_Template::__construct()
Template constructor.
Sets the correct paths for templates for event status.
Source
File: src/Common/Event_Automator/Templates/Admin_Template.php
public function __construct() {
$this->set_template_origin( tribe( Plugin::class ) );
$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 |
|---|---|
| 6.0.0 | Introduced. |