How to change the srcset of woocommerce product thumbnails
I am using the
add_filter function to change the product image src and srcset. Unfortunately, only the src is changed but the srcset set remains the same. Which filter can I use to modify the srcset of woocommerce product images?
Here’s the code: