change_locale
Action Hook: Fires when the locale is switched to or restored.
Source: wp-includes/class-wp-locale-switcher.php:291
Action Hook: Fires when the locale is switched to or restored.
Source: wp-includes/class-wp-locale-switcher.php:291
Function: Registers a new field on an existing WordPress object type.
Source: wp-includes/rest-api.php:153
Function: Registers default REST API routes.
Source: wp-includes/rest-api.php:236
Method: Constructor.
Source: wp-includes/class-wp-term-query.php:196
Class: Core class used for switching locales.
Source: wp-includes/class-wp-locale-switcher.php:16
Method: Constructor.
Source: wp-includes/class-wp-locale-switcher.php:48
Method: Switches the translations according to the given locale.
Source: wp-includes/class-wp-locale-switcher.php:75
Action Hook: Fires when the locale is switched.
Source: wp-includes/class-wp-locale-switcher.php:98
Method: Restores the translations according to the previous locale.
Source: wp-includes/class-wp-locale-switcher.php:123
Action Hook: Fires when the locale is restored to the previous one.
Source: wp-includes/class-wp-locale-switcher.php:149