apply_filters( 'theme_locale', string $locale, string $domain )
Filters a theme’s locale.
Parameters
- $locale
-
(string) The theme's current locale.
- $domain
-
(string) Text domain. Unique identifier for retrieving translated strings.
Source
File: wp-includes/l10n.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/theme_locale