ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • WP-4.7.0
  • Page 47

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::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

switch_locale

Action Hook: Fires when the locale is switched.

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

Used by 0 functions | Uses 0 functions

WP_Locale_Switcher::restore_previous_locale()

Method: Restores the translations according to the previous locale.

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

Used by 0 functions | Uses 0 functions

restore_previous_locale

Action Hook: Fires when the locale is restored to the previous one.

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

Used by 0 functions | Uses 0 functions

WP_Locale_Switcher::restore_current_locale()

Method: Restores the translations according to the original locale.

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

Used by 0 functions | Uses 0 functions

WP_Locale_Switcher::is_switched()

Method: Whether switch_to_locale() is in effect.

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

Used by 0 functions | Uses 0 functions

WP_Locale_Switcher::filter_locale()

Method: Filters the locale of the WordPress installation.

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

Used by 0 functions | Uses 0 functions

WP_Locale_Switcher::load_translations()

Method: Load translations for a given locale.

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

Used by 0 functions | Uses 0 functions
« Previous 1 … 46 47 48 … 53 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy