switch_locale
Action Hook: Fires when the locale is switched.
Source: wp-includes/class-wp-locale-switcher.php:98
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
Method: Restores the translations according to the original locale.
Source: wp-includes/class-wp-locale-switcher.php:161
Method: Whether switch_to_locale() is in effect.
Source: wp-includes/class-wp-locale-switcher.php:178
Method: Filters the locale of the WordPress installation.
Source: wp-includes/class-wp-locale-switcher.php:224
Method: Load translations for a given locale.
Source: wp-includes/class-wp-locale-switcher.php:245
Method: Changes the site’s locale to the given one.
Source: wp-includes/class-wp-locale-switcher.php:277
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