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