Used By
Used By | Description |
---|---|
wp-includes/class-wp-locale-switcher.php: WP_Locale_Switcher::change_locale() | Changes the site’s locale to the given one. |
Fires when the locale is switched to or restored.
(string) The new locale.
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/change_locale