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