WordPress at Your Fingertips
function is not described

wc_gallery_noscript() WC 3.0.6

Show the gallery if JS is disabled.

No Hooks.

Return

null. Nothing.

Usage

wc_gallery_noscript();

Changelog

Since 3.0.6 Introduced.

Code of wc_gallery_noscript() WC 5.6.0

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