apply_filters( 'determine_locale', string $locale )

Filters the locale for the current request.

Parameters

$locale

(string) The locale.

Source

File: wp-includes/l10n.php

View on Trac

Changelog

Version Description
5.0.0 Introduced.

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