| @@ -221,94 +221,99 @@ | ||
| 221 | 221 | ->set_plugin_screens('edit-shopengine-template') |
| 222 | 222 | ->call(); |
| 223 | 223 | } |
| 224 | 224 | |
| 225 | - $apps_img_path = \ShopEngine::plugin_url() . 'assets/images/apps-page/'; | |
| 226 | - /** | |
| 227 | - * Show our plugins menu for others wpmet plugins | |
| 228 | - */ | |
| 229 | - \ShopEngine\Wpmet\Libs\Plugins::instance()->init('shopengine') | |
| 230 | - ->set_parent_menu_slug('shopengine-settings') | |
| 231 | - ->set_submenu_name('Our Plugins') | |
| 232 | - ->set_section_title('Get More out of Your WooCommerce Website!') | |
| 233 | - ->set_section_description('Install other plugins from us and take your WooCommerce site to the next level for absolutely free!') | |
| 234 | - ->set_items_per_row(4) | |
| 235 | - ->set_plugins( | |
| 236 | - [ | |
| 237 | - 'elementskit-lite/elementskit-lite.php' => [ | |
| 238 | - 'name' => esc_html__('ElementsKit', 'shopengine'), | |
| 239 | - 'url' => 'https://wordpress.org/plugins/elementskit-lite/', | |
| 240 | - 'icon' => $apps_img_path. 'elementskit.gif', | |
| 241 | - 'desc' => esc_html__('All-in-one Elementor addon trusted by 1 Million+ users, makes your website builder process easier with ultimate freedom.', 'shopengine'), | |
| 242 | - 'docs' => 'https://wpmet.com/doc/elementskit/', | |
| 243 | - ], | |
| 244 | - 'getgenie/getgenie.php' => [ | |
| 245 | - 'name' => esc_html__('GetGenie', 'shopengine'), | |
| 246 | - 'url' => 'https://wordpress.org/plugins/getgenie/', | |
| 247 | - 'icon' => $apps_img_path.'getgenie.gif', | |
| 248 | - 'desc' => esc_html__('Your personal AI assistant for content and SEO. Write content that ranks on Google with NLP keywords and SERP analysis data.', 'shopengine'), | |
| 249 | - 'docs' => 'https://getgenie.ai/docs/', | |
| 250 | - ], | |
| 251 | - 'gutenkit-blocks-addon/gutenkit-blocks-addon.php' => [ | |
| 252 | - 'name' => esc_html__('GutenKit', 'shopengine'), | |
| 253 | - 'url' => 'https://wordpress.org/plugins/gutenkit-blocks-addon/', | |
| 254 | - 'icon' => $apps_img_path. 'guten-kit.png', | |
| 255 | - 'desc' => esc_html__('Gutenberg blocks, patterns, and templates that extend the page-building experience using the WordPress block editor.', 'shopengine'), | |
| 256 | - 'docs' => 'https://wpmet.com/doc/gutenkit/', | |
| 257 | - ], | |
| 258 | - 'metform/metform.php' => [ | |
| 259 | - 'name' => esc_html__('MetForm', 'shopengine'), | |
| 260 | - 'url' => 'https://wordpress.org/plugins/metform/', | |
| 261 | - 'icon' => $apps_img_path. 'metform.png', | |
| 262 | - 'desc' => esc_html__('Drag & drop form builder for Elementor to create contact forms, multi-step forms, and more — smoother, faster, and better!', 'shopengine'), | |
| 263 | - 'docs' => 'https://wpmet.com/doc/metform/', | |
| 264 | - ], | |
| 265 | - 'emailkit/EmailKit.php' => [ | |
| 266 | - 'name' => esc_html__('EmailKit', 'shopengine'), | |
| 267 | - 'url' => 'https://wordpress.org/plugins/emailkit/', | |
| 268 | - 'icon' => $apps_img_path . 'emailkit.png', | |
| 269 | - 'desc' => esc_html__('Advanced email customizer for WooCommerce and WordPress. Build, customize, and send emails from WordPress to boost your sales!', 'shopengine'), | |
| 270 | - 'docs' => 'https://wpmet.com/doc/emailkit/', | |
| 271 | - ], | |
| 272 | - 'wp-social/wp-social.php' => [ | |
| 273 | - 'name' => esc_html__('WP Social', 'shopengine'), | |
| 274 | - 'url' => 'https://wordpress.org/plugins/wp-social/', | |
| 275 | - 'icon' => $apps_img_path . 'wp-social.png', | |
| 276 | - 'desc' => esc_html__('Add social share, login, and engagement counter — unified solution for all social media with tons of different styles for your website.', 'shopengine'), | |
| 277 | - 'docs' => 'https://wpmet.com/doc/wp-social/', | |
| 278 | - ], | |
| 279 | - 'wp-ultimate-review/wp-ultimate-review.php' => [ | |
| 280 | - 'name' => esc_html__('WP Ultimate Review', 'shopengine'), | |
| 281 | - 'url' => 'https://wordpress.org/plugins/wp-ultimate-review/', | |
| 282 | - 'icon' => $apps_img_path . 'ultimate-review.png', | |
| 283 | - 'desc' => esc_html__('Collect and showcase reviews on your website to build brand credibility and social proof with the easiest solution.','shopengine'), | |
| 284 | - 'docs' => 'https://wpmet.com/doc/wp-ultimate-review/', | |
| 285 | - ], | |
| 286 | - 'wp-fundraising-donation/wp-fundraising.php' => [ | |
| 287 | - 'name' => esc_html__('FundEngine', 'shopengine'), | |
| 288 | - 'url' => 'https://wordpress.org/plugins/wp-fundraising-donation/', | |
| 289 | - 'icon' => $apps_img_path . 'fundengine.png', | |
| 290 | - 'desc' => esc_html__('Create fundraising, crowdfunding, and donation websites with PayPal and Stripe payment gateway integration.', 'shopengine'), | |
| 291 | - 'docs' => 'https://wpmet.com/doc/fundengine/', | |
| 292 | - ], | |
| 293 | - 'blocks-for-shopengine/shopengine-gutenberg-addon.php' => [ | |
| 294 | - 'name' => esc_html__('Blocks for ShopEngine', 'shopengine'), | |
| 295 | - 'url' => 'https://wordpress.org/plugins/blocks-for-shopengine/', | |
| 296 | - 'icon' => $apps_img_path. 'shopengine.gif', | |
| 297 | - 'desc' => esc_html__('All in one WooCommerce solution for Gutenberg! Build your WooCommerce pages in a block editor with full customization.', 'shopengine'), | |
| 298 | - 'docs' => 'https://wpmet.com/doc/shopengine/shopengine-gutenberg/', | |
| 299 | - ], | |
| 300 | - 'genie-image-ai/genie-image-ai.php' => [ | |
| 301 | - 'name' => esc_html__('Genie Image', 'shopengine'), | |
| 302 | - 'url' => 'https://wordpress.org/plugins/genie-image-ai/', | |
| 303 | - 'icon' => $apps_img_path . 'genie-image.png', | |
| 304 | - 'desc' => esc_html__('AI-powered text-to-image generator for WordPress with OpenAI’s DALL-E 2 technology to generate high-quality images in one click. | |
| 305 | - ', 'shopengine'), | |
| 306 | - 'docs' => 'https://getgenie.ai/docs/', | |
| 307 | - ], | |
| 308 | - ] | |
| 309 | - ) | |
| 310 | - ->call(); | |
| 225 | + add_action('init', function () { | |
| 226 | + $apps_img_path = \ShopEngine::plugin_url() . 'assets/images/apps-page/'; | |
| 227 | + /** | |
| 228 | + * Show our plugins menu for others wpmet plugins | |
| 229 | + */ | |
| 230 | + \ShopEngine\Wpmet\Libs\Plugins::instance()->init('shopengine') | |
| 231 | + ->set_parent_menu_slug('shopengine-settings') | |
| 232 | + ->set_submenu_name('Our Plugins') | |
| 233 | + ->set_section_title('Get More out of Your WooCommerce Website!') | |
| 234 | + ->set_section_description('Install other plugins from us and take your WooCommerce site to the next level for absolutely free!') | |
| 235 | + ->set_items_per_row(4) | |
| 236 | + ->set_plugins( | |
| 237 | + [ | |
| 238 | + 'elementskit-lite/elementskit-lite.php' => [ | |
| 239 | + 'name' => esc_html__('ElementsKit', 'shopengine'), | |
| 240 | + 'url' => 'https://wordpress.org/plugins/elementskit-lite/', | |
| 241 | + 'icon' => $apps_img_path. 'elementskit.gif', | |
| 242 | + 'desc' => esc_html__('All-in-one Elementor addon trusted by 1 Million+ users, makes your website builder process easier with ultimate freedom.', 'shopengine'), | |
| 243 | + 'docs' => 'https://wpmet.com/doc/elementskit/', | |
| 244 | + ], | |
| 245 | + 'getgenie/getgenie.php' => [ | |
| 246 | + 'name' => esc_html__('GetGenie', 'shopengine'), | |
| 247 | + 'url' => 'https://wordpress.org/plugins/getgenie/', | |
| 248 | + 'icon' => $apps_img_path.'getgenie.gif', | |
| 249 | + 'desc' => esc_html__('Your personal AI assistant for content and SEO. Write content that ranks on Google with NLP keywords and SERP analysis data.', 'shopengine'), | |
| 250 | + 'docs' => 'https://getgenie.ai/docs/', | |
| 251 | + ], | |
| 252 | + 'gutenkit-blocks-addon/gutenkit-blocks-addon.php' => [ | |
| 253 | + 'name' => esc_html__('GutenKit', 'shopengine'), | |
| 254 | + 'url' => 'https://wordpress.org/plugins/gutenkit-blocks-addon/', | |
| 255 | + 'icon' => $apps_img_path. 'guten-kit.png', | |
| 256 | + 'desc' => esc_html__('Gutenberg blocks, patterns, and templates that extend the page-building experience using the WordPress block editor.', 'shopengine'), | |
| 257 | + 'docs' => 'https://wpmet.com/doc/gutenkit/', | |
| 258 | + ], | |
| 259 | + 'metform/metform.php' => [ | |
| 260 | + 'name' => esc_html__('MetForm', 'shopengine'), | |
| 261 | + 'url' => 'https://wordpress.org/plugins/metform/', | |
| 262 | + 'icon' => $apps_img_path. 'metform.png', | |
| 263 | + 'desc' => esc_html__('Drag & drop form builder for Elementor to create contact forms, multi-step forms, and more — smoother, faster, and better!', 'shopengine'), | |
| 264 | + 'docs' => 'https://wpmet.com/doc/metform/', | |
| 265 | + ], | |
| 266 | + 'emailkit/EmailKit.php' => [ | |
| 267 | + 'name' => esc_html__('EmailKit', 'shopengine'), | |
| 268 | + 'url' => 'https://wordpress.org/plugins/emailkit/', | |
| 269 | + 'icon' => $apps_img_path . 'emailkit.png', | |
| 270 | + 'desc' => esc_html__('Advanced email customizer for WooCommerce and WordPress. Build, customize, and send emails from WordPress to boost your sales!', 'shopengine'), | |
| 271 | + 'docs' => 'https://wpmet.com/doc/emailkit/', | |
| 272 | + ], | |
| 273 | + 'wp-social/wp-social.php' => [ | |
| 274 | + 'name' => esc_html__('WP Social', 'shopengine'), | |
| 275 | + 'url' => 'https://wordpress.org/plugins/wp-social/', | |
| 276 | + 'icon' => $apps_img_path . 'wp-social.png', | |
| 277 | + 'desc' => esc_html__('Add social share, login, and engagement counter — unified solution for all social media with tons of different styles for your website.', 'shopengine'), | |
| 278 | + 'docs' => 'https://wpmet.com/doc/wp-social/', | |
| 279 | + ], | |
| 280 | + 'wp-ultimate-review/wp-ultimate-review.php' => [ | |
| 281 | + 'name' => esc_html__('WP Ultimate Review', 'shopengine'), | |
| 282 | + 'url' => 'https://wordpress.org/plugins/wp-ultimate-review/', | |
| 283 | + 'icon' => $apps_img_path . 'ultimate-review.png', | |
| 284 | + 'desc' => esc_html__('Collect and showcase reviews on your website to build brand credibility and social proof with the easiest solution.','shopengine'), | |
| 285 | + 'docs' => 'https://wpmet.com/doc/wp-ultimate-review/', | |
| 286 | + ], | |
| 287 | + 'wp-fundraising-donation/wp-fundraising.php' => [ | |
| 288 | + 'name' => esc_html__('FundEngine', 'shopengine'), | |
| 289 | + 'url' => 'https://wordpress.org/plugins/wp-fundraising-donation/', | |
| 290 | + 'icon' => $apps_img_path . 'fundengine.png', | |
| 291 | + 'desc' => esc_html__('Create fundraising, crowdfunding, and donation websites with PayPal and Stripe payment gateway integration.', 'shopengine'), | |
| 292 | + 'docs' => 'https://wpmet.com/doc/fundengine/', | |
| 293 | + ], | |
| 294 | + 'blocks-for-shopengine/shopengine-gutenberg-addon.php' => [ | |
| 295 | + 'name' => esc_html__('Blocks for ShopEngine', 'shopengine'), | |
| 296 | + 'url' => 'https://wordpress.org/plugins/blocks-for-shopengine/', | |
| 297 | + 'icon' => $apps_img_path. 'shopengine.gif', | |
| 298 | + 'desc' => esc_html__('All in one WooCommerce solution for Gutenberg! Build your WooCommerce pages in a block editor with full customization.', 'shopengine'), | |
| 299 | + 'docs' => 'https://wpmet.com/doc/shopengine/shopengine-gutenberg/', | |
| 300 | + ], | |
| 301 | + 'genie-image-ai/genie-image-ai.php' => [ | |
| 302 | + 'name' => esc_html__('Genie Image', 'shopengine'), | |
| 303 | + 'url' => 'https://wordpress.org/plugins/genie-image-ai/', | |
| 304 | + 'icon' => $apps_img_path . 'genie-image.png', | |
| 305 | + 'desc' => esc_html__('AI-powered text-to-image generator for WordPress with OpenAI’s DALL-E 2 technology to generate high-quality images in one click. | |
| 306 | + ', 'shopengine'), | |
| 307 | + 'docs' => 'https://getgenie.ai/docs/', | |
| 308 | + ], | |
| 309 | + ] | |
| 310 | + ) | |
| 311 | + ->call(); | |
| 312 | + | |
| 313 | + // working get instance of elementor widget | |
| 314 | + (new Manifest())->init(); | |
| 315 | + } ); | |
| 311 | 316 | |
| 312 | 317 | |
| 313 | 318 | |
| 314 | 319 | \ShopEngine\Core\MultiLanguage\Language::instance()->init(); |
| @@ -319,10 +324,8 @@ | ||
| 319 | 324 | new Libs\Select_Api\Base(); |
| 320 | 325 | |
| 321 | 326 | (new Module_Manifest())->init(); |
| 322 | 327 | |
| 323 | - // working get instance of elementor widget | |
| 324 | - (new Manifest())->init(); | |
| 325 | 328 | |
| 326 | 329 | Query_Modifier::instance()->init(); |
| 327 | 330 | |
| 328 | 331 | (new Conflict_Manifest())->init(); |