wp-includes/l10n/class-wp-translation-controller.php:430Returns all translation files for a given text domain.
$textdomainstringoptional'default'$localestringoptionalnullWP_Translation_File[] protected function get_files( string $textdomain = 'default', ?string $locale = null ): array { if ( null === $locale ) { $locale = $this->current_locale; } return $this->loaded_translations[ $locale ][ $textdomain ] ?? array(); }Introduced in 6.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/l10n/class-wp-translation-controller.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.