set_current_user() Changes the current user by ID or name.
get_currentuserinfo() Populate global variables with information about the currently logged in user.
get_userdatabylogin() Retrieve user info by login name.
get_user_by_email() Retrieve user info by email.
wp_setcookie() Sets a cookie for a user who just logged in. This function is deprecated.
wp_clearcookie() Clears the authentication cookie, logging the user out. This function is deprecated.
wp_get_cookie_login() Gets the user cookie login. This function is deprecated.
wp_login() Checks a users login information and logs them in if it checks out. This function is deprecated.
register_block_pattern_category() Registers a new pattern category.
unregister_block_pattern_category() Unregisters a pattern category.
get_locale() Retrieves the current locale.
get_user_locale() Retrieves the locale of a user.
determine_locale() Determines the current locale desired for the request.
translate() Retrieves the translation of $text.
before_last_bar() Removes last item on a pipe-delimited string.
translate_with_gettext_context() Retrieves the translation of $text in the context defined in $context.
__() Retrieves the translation of $text.
esc_attr__() Retrieves the translation of $text and escapes it for safe use in an attribute.
esc_html__() Retrieves the translation of $text and escapes it for safe use in HTML output.
_e() Displays translated text.
esc_attr_e() Displays translated text that has been escaped for safe use in an attribute.
esc_html_e() Displays translated text that has been escaped for safe use in HTML output.
_x() Retrieves translated string with gettext context.
_ex() Displays translated string with gettext context.
esc_attr_x() Translates string with gettext context, and escapes it for safe use in an attribute.
esc_html_x() Translates string with gettext context, and escapes it for safe use in HTML output.
_n() Translates and retrieves the singular or plural form based on the supplied number.
_nx() Translates and retrieves the singular or plural form based on the supplied number, with gettext context.
_n_noop() Registers plural strings in POT file, but does not translate them.
_nx_noop() Registers plural strings with gettext context in POT file, but does not translate them.
translate_nooped_plural() Translates and returns the singular or plural form of a string that's been registered
load_textdomain() Loads a .mo file into the text domain $domain.
unload_textdomain() Unloads translations for a text domain.
load_default_textdomain() Loads default translated strings based on locale.
load_plugin_textdomain() Loads a plugin's translated strings.
load_muplugin_textdomain() Loads the translated strings for a plugin residing in the mu-plugins directory.
load_theme_textdomain() Loads the theme's translated strings.
load_child_theme_textdomain() Loads the child theme's translated strings.
load_script_textdomain() Loads the script translated strings.
load_script_translations() Loads the translation data for the given script handle and text domain.
_load_textdomain_just_in_time() Loads plugin and theme text domains just-in-time.
get_translations_for_domain() Returns the Translations instance for a text domain.
is_textdomain_loaded() Determines whether there are translations for the text domain.
translate_user_role() Translates role name.
get_available_languages() Gets all available languages based on the presence of *.mo and *.l10n.php files in a given directory.
wp_get_installed_translations() Gets installed translations.
wp_get_pomo_file_data() Extracts headers from a PO file.
wp_get_l10n_php_file_data() Extracts headers from a PHP translation file.
wp_dropdown_languages() Displays or returns a Language selector.
is_rtl() Determines whether the current locale is right-to-left (RTL).