W3cubDocs

/WordPress

apply_filters( ‘determine_locale’, string $determined_locale )

Filters the locale for the current request.

Parameters

$determined_localestring
The locale.

Source

return apply_filters( 'determine_locale', $determined_locale );

Changelog

Version Description
5.0.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/determine_locale