Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/l10n.php | apply_filters | 1220 | /** * 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. */ |
Hook Parameters
Parameter 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. |