WP_Locale_Switcher::__construct()
Method: Constructor.
Source: wp-includes/class-wp-locale-switcher.php:48
Method: Constructor.
Source: wp-includes/class-wp-locale-switcher.php:48
Method: Changes the site’s locale to the given one.
Source: wp-includes/class-wp-locale-switcher.php:277
Method: Filters the locale of the WordPress installation.
Source: wp-includes/class-wp-locale-switcher.php:224
Method: Returns the locale currently switched to.
Source: wp-includes/class-wp-locale-switcher.php:189
Method: Returns the user ID related to the currently switched locale.
Source: wp-includes/class-wp-locale-switcher.php:206
Method: Initializes the locale switcher.
Source: wp-includes/class-wp-locale-switcher.php:61
Method: Whether switch_to_locale() is in effect.
Source: wp-includes/class-wp-locale-switcher.php:178
Method: Load translations for a given locale.
Source: wp-includes/class-wp-locale-switcher.php:245
Method: Restores the translations according to the original locale.
Source: wp-includes/class-wp-locale-switcher.php:161
Method: Restores the translations according to the previous locale.
Source: wp-includes/class-wp-locale-switcher.php:123