Used By
Used By | Description |
---|---|
wp-includes/class-wp-locale-switcher.php: WP_Locale_Switcher::restore_previous_locale() | Restores the translations according to the previous locale. |
Fires when the locale is restored to the previous one.
(string) The new locale.
(string) The previous locale.
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/restore_previous_locale