Fires when the locale is switched to or restored.
Parameters
$localestring- 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.
$localestringdo_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.