wp-includes/class-wp-script-modules.php:955Gets the data for a registered script module.
$idstringarray|null public function get_registered( string $id ): ?array { return $this->registered[ $id ] ?? null; }Introduced in 7.0.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/class-wp-script-modules.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.