Fires when the locale is restored to the previous one.
$localestring$previous_localestringwp-includes/class-wp-locale-switcher.php:149WP_Locale_Switcher::restore_previous_locale() * * @since 4.7.0 * * @param string $locale The new locale. * @param string $previous_locale The previous locale. */ do_action( 'restore_previous_locale', $locale, $previous_locale[0] ); return $locale; } /** * Restores the translations according to the original locale.Introduced in 4.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.