wc_no_js()
NO JS handling.
Description Description
Source Source
File: includes/wc-template-functions.php
function wc_no_js() { ?> <script type="text/javascript"> var c = document.body.className; c = c.replace(/woocommerce-no-js/, 'woocommerce-js'); document.body.className = c; </script> <?php }
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |