WP_Locale_Switcher::change_locale()
Method: Changes the site’s locale to the given one.
Source: wp-includes/class-wp-locale-switcher.php:277
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
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: Initializes the locale switcher.
Source: wp-includes/class-wp-locale-switcher.php:61
Method: Switches the translations according to the given locale.
Source: wp-includes/class-wp-locale-switcher.php:75