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