wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



pre_determine_locale › Filtr WordPress Hooks

Od5.0.0
Przestarzałyn/a
apply_filters( 'pre_determine_locale', null )
Parametry:
  • (string|null) $locale The locale to return and short-circuit. Default null.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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