This code checks to see if the WooCommerce product gallery function exists and if not, then it adds the necessary scripts to enable the product gallery zoom, lightbox and slider features. It also adds the necessary theme support to ensure these features are enabled.
Was this code snippet helpful?
YesNo