wp-content/themes/twentytwenty/inc/template-tags.php:663function twentytwenty_no_js_class() { $js = "document.documentElement.className = document.documentElement.className.replace( 'no-js', 'js' );"; $js .= "\n//# sourceURL=" . rawurlencode( __FUNCTION__ ); if ( function_exists( 'wp_print_inline_script_tag' ) ) { wp_print_inline_script_tag( $js ); } else { echo "<script>$js</script>\n"; }}Introduced in Twenty Twenty 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/twentytwenty/inc/template-tags.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.