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