On this page
apply_filters( 'locale', string $locale )
Filters the locale ID of the WordPress installation.
Parameters
$localestring-
The locale ID.
Source
File: wp-includes/l10n.php. View all references
return apply_filters( 'locale', $locale );
Related
Used By
| Used By | Description |
|---|---|
| get_locale() wp-includes/l10n.php | Retrieves the current locale. |
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/locale