WordPress at Your Fingertips
function is not described

wc_no_js() WC 3.4.0

NO JS handling.

No Hooks.

Return

null. Nothing.

Usage

wc_no_js();

Changelog

Since 3.4.0 Introduced.

Code of wc_no_js() WC 5.7.0

<?php
function wc_no_js() {
	?>
	<script type="text/javascript">
		(function () {
			var c = document.body.className;
			c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
			document.body.className = c;
		})();
	</script>
	<?php
}