do_action( ‘restore_previous_locale’, string $locale, string $previous_locale )

In this article

Fires when the locale is restored to the previous one.

Parameters

$localestring
The new locale.
$previous_localestring
The previous locale.

Source

do_action( 'restore_previous_locale', $locale, $previous_locale[0] );

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

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