Template::__construct()
Building of the Class template configuration.
Source
File: src/Events_Virtual/Integrations/Plugins/Event_Tickets/Emails/Template.php
public function __construct() {
$this->set_template_origin( tribe( Plugin::class ) );
$this->set_template_folder( 'src/views/integrations/event-tickets/emails' );
// Setup to look for theme files.
$this->set_template_folder_lookup( true );
// Configures this templating class extract variables.
$this->set_template_context_extract( true );
}
Changelog
| Version | Description |
|---|---|
| 1.15.0 | Introduced. |