Fires when the locale is switched to or restored.
Parameters
$locale
string- The new locale.
Source
do_action( 'change_locale', $locale );
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
Fires when the locale is switched to or restored.
$locale
stringdo_action( 'change_locale', $locale );
Version | Description |
---|---|
4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.