Changeset 3333398
- Timestamp:
- 07/24/2025 08:58:01 AM (8 months ago)
- Location:
- product-gallery-swiper-for-woocommerce
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
product-gallery-swiper-for-woocommerce/tags/1.5.8/public/class-wdevs-gallery-swiper-public.php
r3333374 r3333398 127 127 */ 128 128 public function on_woocommerce_init() { 129 $this->setup_default_woocommerce_integration();130 131 129 // Hooks for external developers to call our methods 132 130 add_action( 'wdevs_gallery_swiper_start_gallery_rendering', [ $this, 'start_gallery_rendering' ] ); … … 139 137 $this->add_themes_compatibility(); 140 138 $this->add_plugins_compatibility(); 139 140 $this->setup_default_woocommerce_integration(); 141 141 } 142 142 … … 243 243 if ( generatepress_is_module_active( 'generate_package_woocommerce', 'GENERATE_WOOCOMMERCE' ) ) { 244 244 $this->disable_default_thumbnail(); 245 245 246 246 // Use filter to disable default integration instead of remove_action 247 247 add_filter( 'wdevs_gallery_swiper_enable_default_integration', '__return_false' ); -
product-gallery-swiper-for-woocommerce/trunk/public/class-wdevs-gallery-swiper-public.php
r3333374 r3333398 127 127 */ 128 128 public function on_woocommerce_init() { 129 $this->setup_default_woocommerce_integration();130 131 129 // Hooks for external developers to call our methods 132 130 add_action( 'wdevs_gallery_swiper_start_gallery_rendering', [ $this, 'start_gallery_rendering' ] ); … … 139 137 $this->add_themes_compatibility(); 140 138 $this->add_plugins_compatibility(); 139 140 $this->setup_default_woocommerce_integration(); 141 141 } 142 142 … … 243 243 if ( generatepress_is_module_active( 'generate_package_woocommerce', 'GENERATE_WOOCOMMERCE' ) ) { 244 244 $this->disable_default_thumbnail(); 245 245 246 246 // Use filter to disable default integration instead of remove_action 247 247 add_filter( 'wdevs_gallery_swiper_enable_default_integration', '__return_false' );
Note: See TracChangeset
for help on using the changeset viewer.