Description
Filters whether to override the .mo file loading.
Occurrences
Filename | Line Number |
---|---|
wp-includes/l10n.php | 768 |
Parameters
Type | Name | Description |
---|---|---|
bool | $override | Whether to override the .mo file loading. Default false. |
string | $domain | Text domain. Unique identifier for retrieving translated strings. |
string | $mofile | Path to the MO file. |
string|null | $locale | Locale. |
PHP Doc
/**
* Filters whether to override the .mo file loading.
*
* @since 2.9.0
* @since 6.2.0 Added the `$locale` parameter.
*
* @param bool $override Whether to override the .mo file loading. Default false.
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
* @param string $mofile Path to the MO file.
* @param string|null $locale Locale.
*/