PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.10.7
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.10.7
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
← All changes | vendor/codeinwp/themeisle-sdk/src/Loader.php +1 -221 3.10.153.10.7 View file →
@@ -45,9 +45,8 @@
45 45 *
46 46 * @var array The modules which SDK will be using.
47 47 */
48 48 private static $available_modules = [
49 - 'script_loader',
50 49 'dashboard_widget',
51 50 'rollback',
52 51 'uninstall_feedback',
53 52 'licenser',
@@ -59,234 +58,14 @@
59 58 'promotions',
60 59 'welcome',
61 60 'compatibilities',
62 61 'about_us',
63 - 'announcements',
64 - 'featured_plugins',
65 62 ];
66 - /**
67 - * Holds the labels for the modules.
68 - *
69 - * @var array The labels for the modules.
70 - */
71 - public static $labels = [
72 - 'announcements' => [
73 - 'hurry_up' => 'Hurry up! Only %s left.',
74 - 'sale_live' => 'Themeisle Black Friday Sale is Live!',
75 - 'learn_more' => 'Learn more',
76 - 'max_savings' => 'Enjoy Maximum Savings on %s',
77 - ],
78 - 'compatibilities' => [
79 - 'notice' => '%s requires a newer version of %s. Please %supdate%s %s %s to the latest version.',
80 - 'notice2' => '%s update requires a newer version of %s. Please %supdate%s %s %s.',
81 - 'notice_theme' => '%1$sWarning:%2$s This theme has not been tested with your current version of %1$s%3$s%2$s. Please update %3$s plugin.',
82 - 'notice_plugin' => '%1$sWarning:%2$s This plugin has not been tested with your current version of %1$s%3$s%2$s. Please update %3$s %4$s.',
83 - 'theme' => 'theme',
84 - 'plugin' => 'plugin',
85 - ],
86 - 'dashboard_widget' => [
87 - 'title' => 'WordPress Guides/Tutorials',
88 - 'popular' => 'Popular %s',
89 - 'install' => 'Install',
90 - 'powered' => 'Powered by %s',
91 - ],
92 - 'licenser' => [
93 - 'activate' => 'Activate',
94 - 'invalid_msg' => 'Invalid license.',
95 - 'error_notice' => 'ERROR: Failed to connect to the license service. Please try again later. Reason: %s',
96 - 'error_notice2' => 'ERROR: Failed to validate license. Please try again in one minute.',
97 - 'error_invalid' => 'ERROR: Invalid license provided.',
98 - 'update_license' => 'Updating this theme will lose any customizations you have made. Cancel to stop, OK to update.',
99 - 'invalid_msg' => 'Invalid license.',
100 - 'already_active' => 'License is already active.',
101 - 'notice_update' => '%1$s is available. %2$sCheck out what\'s%3$s new or %4$supdate now%3$s.',
102 - 'not_active' => 'License not active.',
103 - 'deactivate' => 'Deactivate',
104 - 'renew_cta' => 'Renew license to update',
105 - 'autoactivate_notice' => '%s has been successfully activated using %s license !',
106 - 'valid' => 'Valid',
107 - 'invalid' => 'Invalid',
108 - 'notice' => 'Enter your license from %s purchase history in order to get %s updates',
109 - 'expired' => 'Your %s\'s License Key has expired. In order to continue receiving support and software updates you must %srenew%s your license key.',
110 63
111 - 'inactive' => 'In order to benefit from updates and support for %s, please add your license code from your %spurchase history%s and validate it %shere%s.',
112 - 'no_activations' => 'No more activations left for %s. You need to upgrade your plan in order to use %s on more websites. If you need assistance, please get in touch with %s staff.',
113 - ],
114 - 'promotions' => [
115 - 'recommended' => 'Recommended by %s',
116 - 'woo' => [
117 - 'title' => 'More extensions from Themeisle',
118 - 'title2' => 'Recommended extensions',
119 - 'cta_install' => 'Install',
120 - 'learn_more' => 'Learn More',
121 - 'dismiss' => 'Dismiss this suggestion',
122 - 'ppom_title' => 'Product Add-Ons',
123 - 'ppom_desc' => 'Add extra custom fields & add-ons on your product pages, like sizes, colors & more.',
124 - 'spark_title1' => 'Wishlist',
125 - 'spark_title2' => 'Multi-Announcement Bars',
126 - 'spark_title3' => 'Advanced Product Review',
127 - 'spark_desc1' => 'Loyalize your customers by allowing them to save their favorite products.',
128 - 'spark_desc2' => 'Add a top notification bar on your website to highlight the latest products, offers, or upcoming events.',
129 - 'spark_desc3' => 'Enable an advanced review section, enlarging the basic review options with lots of capabilities.',
130 - ],
131 - 'optimole' => [
132 - 'all_set' => 'Awesome! You are all set!',
133 - 'gotodash' => 'Go to Optimole dashboard',
134 - 'installing' => 'Installing',
135 - 'activating' => 'Activating',
136 - 'connecting' => 'Connecting to API',
137 - 'start_cta' => 'Start using Optimole',
138 - 'dismisscta' => 'Dismiss this notice.',
139 - 'gst' => 'Get Started Free',
140 - 'heading' => 'Get more with Optimole',
141 - 'learnmore' => 'Learn more',
142 - 'message1' => 'Increase this page speed and SEO ranking by optimizing images with Optimole.',
143 - 'message3' => 'Save your server space by storing images to Optimole and deliver them optimized from 400 locations around the globe. Unlimited images, Unlimited traffic.',
144 - 'message4' => 'This image looks to be too large and would affect your site speed, we recommend you to install Optimole to optimize your images.',
145 - 'message2' => 'Leverage Optimole\'s full integration with Elementor to automatically lazyload, resize, compress to AVIF/WebP and deliver from 400 locations around the globe!',
146 - 'email_placeholder' => 'Email address',
147 - ],
148 - ],
149 - 'welcome' => [
150 - 'ctan' => 'No, thanks.',
151 - 'ctay' => 'Upgrade Now!',
152 - 'message' => '<p>You\'ve been using <b>{product}</b> for 7 days now and we appreciate your loyalty! We also want to make sure you\'re getting the most out of our product. That\'s why we\'re offering you a special deal - upgrade to <b>{pro_product}</b> in the next 5 days and receive a discount of <b>up to 30%</b>. <a href="{cta_link}" target="_blank">Upgrade now</a> and unlock all the amazing features of <b>{pro_product}</b>!</p>',
153 - ],
154 - 'uninstall' => [
155 - 'heading_plugin' => 'What\'s wrong?',
156 - 'heading_theme' => 'What does not work for you in {theme}?',
157 - 'submit' => 'Submit',
158 - 'cta_info' => 'What info do we collect?',
159 - 'button_submit' => 'Submit &amp; Deactivate',
160 - 'button_cancel' => 'Skip &amp; Deactivate',
161 - 'disclosure' => [
162 - 'title' => 'Below is a detailed view of all data that Themeisle will receive if you fill in this survey. No email address or IP addresses are transmitted after you submit the survey.',
163 - 'version' => '%s %s version %s %s %s %s',
164 - 'website' => '%sCurrent website:%s %s %s %s',
165 - 'usage' => '%sUsage time:%s %s %s%s',
166 - 'reason' => '%s Uninstall reason %s %s Selected reason from the above survey %s ',
167 - ],
168 -
169 - 'options' => [
170 - 'id3' => [
171 - 'title' => 'I found a better plugin',
172 - 'placeholder' => 'What\'s the plugin\'s name?',
173 - ],
174 - 'id4' => [
175 -
176 - 'title' => 'I could not get the plugin to work',
177 - 'placeholder' => 'What problem are you experiencing?',
178 - ],
179 - 'id5' => [
180 -
181 - 'title' => 'I no longer need the plugin',
182 - 'placeholder' => 'If you could improve one thing about our product, what would it be?',
183 - ],
184 - 'id6' => [
185 - 'title' => 'It\'s a temporary deactivation. I\'m just debugging an issue.',
186 - 'placeholder' => 'What problem are you experiencing?',
187 - ],
188 - 'id7' => [
189 - 'title' => 'I don\'t know how to make it look like demo',
190 - ],
191 - 'id8' => [
192 -
193 - 'placeholder' => 'What option is missing?',
194 - 'title' => 'It lacks options',
195 - ],
196 - 'id9' => [
197 - 'title' => 'Is not working with a plugin that I need',
198 - 'placeholder' => 'What is the name of the plugin',
199 - ],
200 - 'id10' => [
201 - 'title' => 'I want to try a new design, I don\'t like {theme} style',
202 - ],
203 - 'id999' => [
204 - 'title' => 'Other',
205 - 'placeholder' => 'What can we do better?',
206 - ],
207 - ],
208 - ],
209 - 'review' => [
210 - 'notice' => '<p>Hey, it\'s great to see you have <b>{product}</b> active for a few days now. How is everything going? If you can spare a few moments to rate it on WordPress.org it would help us a lot (and boost my motivation). Cheers! <br/> <br/>~ {developer}, developer of {product}</p>',
211 - 'ctay' => 'Ok, I will gladly help.',
212 - 'ctan' => 'No, thanks.',
213 -
214 - ],
215 - 'rollback' => [
216 - 'cta' => 'Rollback to v%s',
217 - ],
218 - 'logger' => [
219 - 'notice' => 'Do you enjoy <b>{product}</b>? Become a contributor by opting in to our anonymous data tracking. We guarantee no sensitive data is collected.',
220 - 'cta_y' => 'Sure, I would love to help.',
221 - 'cta_n' => 'No, thanks.',
222 - ],
223 - 'about_us' => [
224 - 'title' => 'About Us',
225 - 'heroHeader' => 'Our Story',
226 - 'heroTextFirst' => 'Themeisle was founded in 2012 by a group of passionate developers who wanted to create beautiful and functional WordPress themes and plugins. Since then, we have grown into a team of over 20 dedicated professionals who are committed to delivering the best possible products to our customers.',
227 - 'heroTextSecond' => 'At Themeisle, we offer a wide range of WordPress themes and plugins that are designed to meet the needs of both beginners and advanced users. Our products are feature-rich, easy to use, and are designed to help you create beautiful and functional websites.',
228 - 'teamImageCaption' => 'Our team in WCEU2022 in Portugal',
229 - 'newsHeading' => 'Stay connected for news & updates!',
230 - 'emailPlaceholder' => 'Your email address',
231 - 'signMeUp' => 'Sign me up',
232 - 'installNow' => 'Install Now',
233 - 'activate' => 'Activate',
234 - 'learnMore' => 'Learn More',
235 - 'installed' => 'Installed',
236 - 'notInstalled' => 'Not Installed',
237 - 'active' => 'Active',
238 - 'others' => [
239 - 'optimole_desc' => 'Optimole is an image optimization service that automatically optimizes your images and serves them to your visitors via a global CDN, making your website lighter, faster and helping you reduce your bandwidth usage.',
240 - 'neve_desc' => 'A fast, lightweight, customizable WordPress theme offering responsive design, speed, and flexibility for various website types.',
241 - 'landingkit_desc' => 'Turn WordPress into a landing page powerhouse with Landing Kit, map domains to pages or any other published resource.',
242 - 'sparks_desc' => 'Extend your store functionality with 8 ultra-performant features like product comparisons, variation swatches, wishlist, and more.',
243 - 'tpc_desc' => 'Design, save, and revisit your templates anytime with your personal vault on Templates Cloud.',
244 - ],
245 - 'otter-page' => [
246 - 'heading' => 'Build innovative layouts with Otter Blocks and Gutenberg',
247 - 'text' => 'Otter is a lightweight, dynamic collection of page building blocks and templates for the WordPress block editor.',
248 - 'buttons' => [
249 - 'install_otter_free' => "Install Otter - It's free!",
250 - 'install_now' => 'Install Now',
251 - 'learn_more' => 'Learn More',
252 - ],
253 - 'features' => [
254 - 'advancedTitle' => 'Advanced Features',
255 - 'advancedDesc' => 'Add features such as Custom CSS, Animations & Visibility Conditions to all blocks.',
256 - 'fastTitle' => 'Lightweight and Fast',
257 - 'fastDesc' => 'Otter enhances WordPress site building experience without impacting site speed.',
258 - 'mobileTitle' => 'Mobile-Friendly',
259 - 'mobileDesc' => 'Each block can be tweaked to provide a consistent experience across all devices.',
260 - ],
261 - 'details' => [
262 - 's1Title' => 'A Better Page Building Experience',
263 - 's1Text' => 'Otter can be used to build everything from a personal blog to an e-commerce site without losing the personal touch. Otter’s ease of use transforms basic blocks into expressive layouts in seconds.',
264 - 's2Title' => 'A New Collection of Patterns',
265 - 's2Text' => 'A New Patterns Library, containing a range of different elements in a variety of styles to help you build great pages. All of your website’s most important areas are covered: headers, testimonials, pricing tables, sections and more.',
266 - 's3Title' => 'Advanced Blocks',
267 - 's3Text' => 'Enhance your website’s design with powerful blocks, like the Add to Cart, Business Hours, Review Comparison, and dozens of WooCommerce blocks.',
268 - ],
269 - 'testimonials' => [
270 - 'heading' => 'Trusted by more than 300K website owners',
271 - 'users' => [
272 - 'user_1' => 'Loved the collection of blocks. If you want to create nice Gutenberg Pages, this plugin will be very handy and useful.',
273 - 'user_2' => 'I am very satisfied with Otter – a fantastic collection of blocks. And the plugin is perfectly integrated with Gutenberg and complete enough for my needs.',
274 - 'user_3' => 'Otter Blocks work really well and I like the customization options. Easy to use and format to fit in with my site theme – and I’ve not encountered any compatibility or speed issues.',
275 - ],
276 - ],
277 - ],
278 - ],
279 - ];
280 -
281 64 /**
282 65 * Initialize the sdk logic.
283 66 */
284 67 public static function init() {
285 - /**
286 - * This filter can be used to localize the labels inside each product.
287 - */
288 - self::$labels = apply_filters( 'themeisle_sdk_labels', self::$labels );
289 68 if ( ! isset( self::$instance ) && ! ( self::$instance instanceof Loader ) ) {
290 69 self::$instance = new Loader();
291 70 $modules = array_merge( self::$available_modules, apply_filters( 'themeisle_sdk_modules', [] ) );
292 71 foreach ( $modules as $key => $module ) {
@@ -366,5 +145,6 @@
366 145 */
367 146 public static function get_version() {
368 147 return self::$version;
369 148 }
149 +
370 150 }