wpseek.com
A WordPress-centric search engine for devs and theme authors
pre_determine_locale › WordPress Filter Hooks
Since5.0.0
Deprecatedn/a
› apply_filters( 'pre_determine_locale', null )
Parameters: |
|
Defined at: |
|
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.
Related Functions: determine_locale, _prime_term_caches, get_user_locale, get_locale, update_term_cache, update_termmeta_cache
Related Hooks: determine_locale, theme_locale, core_version_check_locale, redirect_term_location, pre_term_link