Filters the locale ID of the WordPress installation.
$localestring
return apply_filters( 'locale', $locale );
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/locale