do_action( 'restore_previous_locale', string $locale , string $previous_locale )
Fires when the locale is restored to the previous one.
Description Description
Parameters Parameters
- $locale
-
(string) The new locale.
- $previous_locale
-
(string) The previous locale.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |