wp-content/themes/twentytwentyone/inc/template-functions.php:76Remove the no-js class from body if JS is supported.
voidfunction twenty_twenty_one_supports_js() { echo '<script>document.body.classList.remove("no-js");</script>';}Introduced in Twenty Twenty-One 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentytwentyone/inc/template-functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.