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