PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.2.7
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.2.7
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
← All changes | includes/Plugin.php +8 -1 3.0.83.2.7 View file →
@@ -9,8 +9,10 @@
9 9 */
10 10
11 11 namespace Templately;
12 12
13 +use Templately\Admin\API\Settings as APISettings;
14 +use Templately\Admin\Settings;
13 15 use Templately\API\Conditions;
14 16 use Templately\API\ThemeBuilderApi;
15 17 use Templately\Builder\ThemeBuilder;
16 18 use Templately\Core\Importer\FullSiteImport;
@@ -37,11 +39,12 @@
37 39 use Templately\Core\Platform\Gutenberg;
38 40 use Templately\Core\Platform\Elementor;
39 41
40 42 final class Plugin extends Base {
41 - public $version = '3.0.8';
43 + public $version = '3.2.7';
42 44
43 45 public $admin;
46 + public $settings;
44 47 /**
45 48 * Enqueue class responsible for assets
46 49 * @var Enqueue
47 50 */
@@ -65,8 +68,9 @@
65 68 Maintenance::init();
66 69
67 70 $this->assets = Enqueue::get_instance( TEMPLATELY_URL, TEMPLATELY_PATH, $this->version );
68 71 $this->admin = Admin::get_instance();
72 + $this->settings = Settings::get_instance();
69 73 $this->theme_builder = ThemeBuilder::get_instance();
70 74
71 75 add_action( 'plugins_loaded', [ $this, 'plugins_loaded' ] );
72 76 add_action( 'rest_api_init', [ $this, 'register_routes' ] );
@@ -73,8 +77,9 @@
73 77 /**
74 78 * Initialize.
75 79 */
76 80 do_action( 'templately_init' );
81 +
77 82 }
78 83
79 84 /**
80 85 * Cloning is forbidden.
@@ -143,8 +148,10 @@
143 148 Import::get_instance();
144 149 Profile::get_instance();
145 150 MyClouds::get_instance();
146 151 WorkSpaces::get_instance();
152 +
153 + APISettings::get_instance();
147 154 }
148 155
149 156 /**
150 157 * Register all REST API endpoints