wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



pre_determine_locale › WordPress Filter Hooks

Seit5.0.0
Veraltetn/v
apply_filters( 'pre_determine_locale', null )
Parameter:
  • (string|null) $locale The locale to return and short-circuit. Default null.
    Erforderlich: Ja
Definiert in:
Codex:

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.





Quellcode

$determined_locale = apply_filters( 'pre_determine_locale', null );