PluginProbe ʕ •ᴥ•ʔ
Spider Elements – Premium Elementor Widgets & Addons Library / 1.5.0
Spider Elements – Premium Elementor Widgets & Addons Library v1.5.0
trunk 1.0.0 1.1.0 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.7.0 1.8.0 1.9.0
spider-elements / includes / template_library / Template_Library.php
spider-elements / includes / template_library Last commit date
templates 1 year ago Template_Library.php 1 year ago
Template_Library.php
38 lines
1 <?php
2 namespace SPEL\includes\template_library;
3
4 /**
5 * Class Template_Library
6 * @package DocyCore
7 * @since 3.3.0
8 */
9 class Template_Library {
10
11 public function __construct() {
12 $this->core_includes();
13 }
14
15 public function core_includes(): void
16 {
17
18 // templates
19 include( __DIR__ . '/templates/Import.php');
20 include( __DIR__ . '/templates/Init.php');
21 include( __DIR__ . '/templates/Load.php');
22 include( __DIR__ . '/templates/Api.php');
23
24 \SPEL\includes\template_library\Import::instance()->load();
25 \SPEL\includes\template_library\Load::instance()->load();
26 \SPEL\includes\template_library\Init::instance()->init();
27
28 if (!defined('DOCY_TEMPLATE_WHITE_LOGO_SRC')){
29 define('DOCY_TEMPLATE_WHITE_LOGO_SRC', plugin_dir_url( __FILE__ ) . 'templates/assets/img/template_white_logo.svg');
30 }
31
32 if (!defined('DOCY_TEMPLATE_LOGO_SRC')){
33 define('DOCY_TEMPLATE_LOGO_SRC', plugin_dir_url( __FILE__ ) . 'templates/assets/img/template_logo.svg');
34 }
35
36 }
37
38 }