Description
Filters the file path for loading script translations for the given script handle and text domain.
Occurrences
Filename | Line Number |
---|---|
wp-includes/l10n.php | 1319 |
Parameters
Type | Name | Description |
---|---|---|
string|false | $file | Path to the translation file to load. False if there isn't one. |
string | $handle | Name of the script to register a translation domain to. |
string | $domain | The text domain. |
PHP Doc
/**
* Filters the file path for loading script translations for the given script handle and text domain.
*
* @since 5.0.2
*
* @param string|false $file Path to the translation file to load. False if there isn't one.
* @param string $handle Name of the script to register a translation domain to.
* @param string $domain The text domain.
*/