apply_filters( ‘load_script_translation_file’, string|false $file, string $handle, string $domain )

In this article

Filters the file path for loading script translations for the given script handle and text domain.

Parameters

$filestring|false
Path to the translation file to load. False if there isn’t one.
$handlestring
Name of the script to register a translation domain to.
$domainstring
The text domain.

Source

* @global MO[]                   $l10n_unloaded          An array of all text domains that have been unloaded again.

Changelog

VersionDescription
5.0.2Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.