Photoswipe/ Woocommerce Lightbox caption – display image descritpion instead of title

I am currently trying to alter the text rendered in the pswp caption center from the default data, the attachment title, to the image description. I am having some difficulty finding where the call is defined for retrieving the data used. The Photoswipe.php file under templates obviously just defines the html skeleton, and checking the Photoswipe directory under assets has not yielded much in the way of results. Is this function defined somewhere else that I am not looking? Any help would be much appreciated, thanks!

Read more here:: Photoswipe/ Woocommerce Lightbox caption – display image descritpion instead of title

Leave a Reply

Your email address will not be published. Required fields are marked *