PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.1.13
ShopBuilder – WooCommerce Builder For Elementor v2.1.13
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Controllers/PluginsSupport/RtwpvgSupport.php +14 -2 2.0.1 → 2.1.13 View file →
@@ -30,9 +30,11 @@
30 30 * Construct function
31 31 */
32 32 private function __construct() {
33 33 add_action( 'wp_enqueue_scripts', [ $this, 'support_assets' ], -1 );
34 + //add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ), 16 );
34 35 add_filter( 'rtsb/elements/elementor/widget/selectors/rtsb-product-image', [ $this, 'rtsb_product_image_selectors' ] );
36 +
35 37 }
36 38 /**
37 39 * Undocumented function
38 40 *
@@ -37,8 +39,20 @@
37 39 * Undocumented function
38 40 *
39 41 * @return void
40 42 */
43 + public function enqueue_scripts() {
44 + // wp_dequeue_script( 'rtwpvg' );
45 + // wp_dequeue_script( 'swiper' );
46 +
47 + // wp_enqueue_script( 'rtwpvg' );
48 + }
49 +
50 + /**
51 + * Undocumented function
52 + *
53 + * @return void
54 + */
41 55 public function support_assets() {
42 56 if ( ! BuilderFns::is_builder_preview() ) {
43 57 return;
44 58 }
@@ -48,10 +62,8 @@
48 62 ];
49 63 foreach ( $hooks as $hook ) {
50 64 add_filter( $hook, '__return_false', 20 );
51 65 }
52 - wp_enqueue_style( 'rtwpvg' );
53 - wp_enqueue_script( 'rtwpvg' );
54 66 }
55 67
56 68 /**
57 69 * Product Image Selector