Admin
Allow including admin templates.
Source
File: src/Tribe/Editor/Template/Admin.php
class Admin extends \Tribe__Template { /** * Building of the Class template configuration. * * @since 1.7.1 */ public function __construct() { $this->set_template_origin( tribe( Plugin::class ) ); $this->set_template_folder( 'src/admin-views' ); // Configures this templating class extract variables. $this->set_template_context_extract( true ); } }
Changelog
Version | Description |
---|---|
1.7.1 | Introduced. |
Methods
- __construct — Building of the Class template configuration.