PluginProbe
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution with eCommerce Templates & Woo Widgets / 4.8.0
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution with eCommerce Templates & Woo Widgets v4.8.0
4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 2.0.0 2.1.0 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.0 2.5.1 3.0.0 3.1.0 3.1.1 4.0.0 4.0.1 4.1.0 4.1.1 4.2.0 4.2.1 4.3.0 All 85 releases
← All changes | plugin.php +1 -40 4.9.04.8.0 View file →
@@ -13,9 +13,8 @@
13 13 use ShopEngine\Libs\License\License_Route;
14 14 use ShopEngine\Libs\Rating\Rating;
15 15 use ShopEngine\Libs\Updater\Init as Updater;
16 16 use ShopEngine\Modules\Manifest as Module_Manifest;
17 -use ShopEngine\Utils\Feedback\Plugin_Unsubscribe;
18 17 use ShopEngine\Widgets\Manifest;
19 18
20 19
21 20 /**
@@ -85,10 +84,8 @@
85 84
86 85 if($error) {
87 86 return;
88 87 }
89 -
90 -
91 88
92 89 add_filter("plugin_action_links_shopengine/shopengine.php", function ($links) {
93 90 $free = esc_html__("Go To Shopengine","shopengine");
94 91 $pro = esc_html__("Go To ShopenginePro","shopengine");
@@ -131,11 +128,9 @@
131 128 * Routes initialization
132 129 *
133 130 */
134 131 new License_Route();
135 -
136 - // Initialize deactivation feedback modal
137 - new \ShopEngine\Utils\Feedback\Plugin_Unsubscribe();
132 +
138 133 /**
139 134 * Run pro plugin updater here....
140 135 *
141 136 */
@@ -171,27 +166,11 @@
171 166 new \ShopEngine\Core\Elementor_Controls\Init();
172 167
173 168 //Loading the scripts and styles
174 169 add_action('elementor/editor/after_enqueue_styles', [$this, 'js_css_elementor']);
175 -
176 - // Register widgets immediately after elementor is loaded with higher priority
177 - if(is_plugin_active('related-products-manager-woocommerce/related-products-manager-for-woocommerce.php')) {
178 -
179 - add_action('elementor/widgets/register', function() {
180 - (new Manifest())->init();
181 - }, 5); // Priority 5 to load early
182 - }
183 -
184 170 }
185 171
186 - // Cart validation compatibility with WC Min Max Quantity plugin
187 172
188 - if ( function_exists( 'is_plugin_active' ) && is_plugin_active( 'woo-min-max-quantity-step-control-single/wcmmq.php' ) ) {
189 -
190 - add_filter( 'wcmmq_cart_validation_check', [ $this, 'shopengine_wcmmq_cart_validation_compat' ], 10, 2 );
191 - }
192 -
193 -
194 173 //Loading public scripts and styles
195 174 add_action('wp_enqueue_scripts', [$this, 'js_css_public']);
196 175
197 176 //woocommece theme support
@@ -376,26 +355,8 @@
376 355
377 356 //it will register an option in customizer for woocommerce products catelog. It's related with our Arcive Products widget.
378 357 Register_Settings::instance()->init();
379 358 }
380 -
381 - public function shopengine_wcmmq_cart_validation_compat( $check, $request ) {
382 -
383 - $cart_widget_flag = isset( $_REQUEST['shopengine_cart_widget'] )
384 - ? sanitize_text_field( wp_unslash( $_REQUEST['shopengine_cart_widget'] ) )
385 - : '';
386 - $cart_widget_nonce = isset( $_REQUEST['shopengine_cart_widget_nonce'] )
387 - ? sanitize_text_field( wp_unslash( $_REQUEST['shopengine_cart_widget_nonce'] ) )
388 - : '';
389 -
390 - if ( $cart_widget_flag === '1' && wp_verify_nonce( $cart_widget_nonce, 'shopengine_cart_widget' ) ) {
391 - return false; // Skip WC MMQ validation for verified ShopEngine cart widget requests
392 - }
393 - return $check; // Proceed with normal validation for other requests
394 - }
395 -
396 -
397 -
398 359
399 360
400 361 // add async and defer attributes to enqueued scripts
401 362 public function filter_load_type($tag, $handle, $src) {