ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • 4.7.0
  • Page 46

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

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

register_rest_field()

Function: Registers a new field on an existing WordPress object type.

Source: wp-includes/rest-api.php:153

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