PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.1.6
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.1.6
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
templately / includes / Builder / Managers / ThemeCompatibility.php

ThemeCompatibility.php in Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! 3.1.6, at includes/Builder/Managers/ThemeCompatibility.php

28 lines 519 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Templately\Builder\Managers;
4
5 use Templately\Builder\TemplateLoader;
6
7 class ThemeCompatibility {
8 private $theme;
9 private $template;
10
11 public function __construct() {
12 add_action( 'init', [$this, 'init'] );
13 }
14
15 public function init() {
16 $this->theme = wp_get_theme();
17 $this->template = $this->theme->get_template();
18
19 // switch ( $this->template ) {
20 // }
21
22 add_action( 'templately_locations', [ $this, 'register_locations' ], 999 );
23 }
24
25 public function register_locations( $manager ) {
26
27 }
28 }