restore_previous_locale

Advertisement

Summery Summery

Fires when the locale is restored to the previous one.

Syntax Syntax

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

Parameters Parameters

$locale

The new locale.

$previous_locale

The previous locale.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply