do_action( 'restore_previous_locale', string $locale, string $previous_locale )

Fires when the locale is restored to the previous one.

Parameters Parameters


(string) The new locale.


(string) The previous locale.

Top ↑

Source Source

File: wp-includes/class-wp-locale-switcher.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.