Skip to content

Commit 5262fbc

Browse files
author
Marco Pereirinha
committed
Use the WooCommerce gallery wrapper to hook the Cloudinary Gallery
1 parent b129fa0 commit 5262fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/media/class-woocommercegallery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function setup_hooks() {
9595
add_filter(
9696
'cloudinary_gallery_html_container',
9797
static function () {
98-
return '.woocommerce-product-gallery';
98+
return '.woocommerce-product-gallery__wrapper';
9999
}
100100
);
101101

0 commit comments

Comments
 (0)