Skip to main content

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

NameTypeDescription
$localestring|nullThe locale to return and short-circuit. Default null.

Since

Source

Defined in common.php at line 6737