HTTP/2 200
server: nginx
date: Sat, 11 Oct 2025 06:57:55 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
pre_determine_locale – Hook | Developer.WordPress.org
apply_filters( ‘pre_determine_locale’, string|null $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.
$locale
string|nullThe locale to return and short-circuit. Default null.
Version | Description |
---|
5.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.