This code retrieves the size of the thumbnail image size used in the WooCommerce product galleries. It uses the “wc_get_image_size” function to access the size data from the WordPress settings. The size data is then stored in the “gallery_thumbnail_image_size” variable for use later in the code.
Was this code snippet helpful?
YesNo