Tribe__Events__Editor__Template::__construct()
Building of the Class template configuration
Source
File: src/Tribe/Editor/Template.php
public function __construct() {
$this->set_template_origin( tribe( 'tec.main' ) );
$this->set_template_folder( 'src/views' );
// Configures this templating class extract variables
$this->set_template_context_extract( true );
// Uses the public folders
$this->set_template_folder_lookup( true );
add_action( 'tribe_events_before_view', array( $this, 'set_notices' ), 0 );
}
Changelog
| Version | Description |
|---|---|
| 4.7 | Introduced. |