WP_Locale_Switcher::init()
Method: Initializes the locale switcher.
Source: wp-includes/class-wp-locale-switcher.php:57
Method: Initializes the locale switcher.
Source: wp-includes/class-wp-locale-switcher.php:57
Method: Switches the translations according to the given locale.
Source: wp-includes/class-wp-locale-switcher.php:69
Action Hook: Fires when the locale is switched.
Source: wp-includes/class-wp-locale-switcher.php:90
Method: Restores the translations according to the previous locale.
Source: wp-includes/class-wp-locale-switcher.php:102
Action Hook: Fires when the locale is restored to the previous one.
Source: wp-includes/class-wp-locale-switcher.php:127
Method: Restores the translations according to the original locale.
Source: wp-includes/class-wp-locale-switcher.php:139
Method: Whether switch_to_locale() is in effect.
Source: wp-includes/class-wp-locale-switcher.php:156
Method: Filters the locale of the ClassicPress installation.
Source: wp-includes/class-wp-locale-switcher.php:168
Method: Load translations for a given locale.
Source: wp-includes/class-wp-locale-switcher.php:189
Method: Changes the site’s locale to the given one.
Source: wp-includes/class-wp-locale-switcher.php:218