ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/class-wp-locale-switcher.php
  • Page 2

WP_Locale_Switcher::change_locale()

Method: Changes the site’s locale to the given one.

Source: wp-includes/class-wp-locale-switcher.php:277

Used by 0 functions | Uses 0 functions

change_locale

Action Hook: Fires when the locale is switched to or restored.

Source: wp-includes/class-wp-locale-switcher.php:291

Used by 0 functions | Uses 0 functions

WP_Locale_Switcher

Class: Core class used for switching locales.

Source: wp-includes/class-wp-locale-switcher.php:16

Used by 0 functions | Uses 0 functions

WP_Locale_Switcher::__construct()

Method: Constructor.

Source: wp-includes/class-wp-locale-switcher.php:48

Used by 0 functions | Uses 0 functions

WP_Locale_Switcher::init()

Method: Initializes the locale switcher.

Source: wp-includes/class-wp-locale-switcher.php:61

Used by 0 functions | Uses 0 functions

WP_Locale_Switcher::switch_to_locale()

Method: Switches the translations according to the given locale.

Source: wp-includes/class-wp-locale-switcher.php:75

Used by 0 functions | Uses 0 functions
« Previous 1 2
ClassicPress Documentation • Made with ClassicPress
Privacy Policy