Filters script translations for the given file, script handle and text domain.
$translationsstring$filestring$handlestring$domainstringwp-includes/l10n.php:1404load_script_translations() * * @param string $translations JSON-encoded translation data. * @param string $file Path to the translation file that was loaded. * @param string $handle Name of the script to register a translation domain to. * @param string $domain The text domain. */ return apply_filters( 'load_script_translations', $translations, $file, $handle, $domain );} /** * Loads plugin and theme text domains just-in-time. * * When a textdomain is encountered for the first time, we try to loadIntroduced in 5.0.2. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.