Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/l10n.php | apply_filters | 1238 | /** * Filters script translations for the given file, script handle and text domain. * * @since 5.0.2 * * @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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $translations | JSON-encoded translation data. |
string | $file | Path to the translation file that was loaded. |
string | $handle | Name of the script to register a translation domain to. |
string | $domain | The text domain. |