wc_gallery_noscript()

Show the gallery if JS is disabled.


Description Description


Source Source

File: includes/wc-template-functions.php

function wc_gallery_noscript() {
	?>
	<noscript><style>.woocommerce-product-gallery{ opacity: 1 !important; }</style></noscript>
	<?php
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.