apply_filters( 'locale', string $locale )
Filters the locale ID of the WordPress installation.
Parameters
- $locale
-
(string) The locale ID.
Source
File: wp-includes/l10n.php
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/locale