Retrieve the translated weekday abbreviation.
WP_Locale::get_weekday_initial
Retrieve the translated weekday initial.
WP_Locale::get_weekday
Retrieve the full translated weekday word.
WP_Locale::init
Sets up the translated strings and object properties.
Advertisement
WP_Locale::__construct
Constructor which calls helper methods to set up object variables.
WP_Locale_Switcher::change_locale
Changes the site’s locale to the given one.
WP_Locale_Switcher::load_translations
Load translations for a given locale.
WP_Locale_Switcher::filter_locale
Filters the locale of the WordPress installation.
Advertisement
WP_Locale_Switcher::is_switched
Whether switch_to_locale() is in effect.
WP_Locale_Switcher::restore_current_locale
Restores the translations according to the original locale.
WP_Locale_Switcher::restore_previous_locale
Restores the translations according to the previous locale.
WP_Locale_Switcher::switch_to_locale
Switches the translations according to the given locale.
Advertisement
WP_Locale_Switcher::init
Initializes the locale switcher.
WP_Locale_Switcher::__construct
Constructor.
WP_List_Util::sort_callback
Callback to sort the list by specific fields.