Filter: pre_determine_locale
Filters the locale for the current request prior to the default determination process.
Using this filter allows to override the default logic, effectively short-circuiting the function.
Parameters
| Name | Type | Description |
|---|---|---|
| $locale | string|null | The locale to return and short-circuit. Default null. |
Since
Source
Defined in common.php at line 6737