do_action( 'change_locale', string $locale )
Fires when the locale is switched to or restored.
Description Description
Parameters Parameters
- $locale
-
(string) The new locale.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |