wc_gallery_noscript()WC 3.0.6

Show the gallery if JS is disabled.

No Hooks.

Return

null. Nothing (null).

Usage

wc_gallery_noscript();

Changelog

Since 3.0.6 Introduced.

wc_gallery_noscript() code WC 8.6.1

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