load_default_textdomain


load_default_textdomain ( $locale = null )

Parameters:
  • (string) locale Optional. Locale to load. Default is the value of get_locale().
See:
Returns:
  • (bool) Whether the textdomain was loaded.
Defined at:

Description

Loads default translated strings based on locale.Loads the .mo file in WP_LANG_DIR constant path from WordPress root. The translated (.mo) file is named based on the locale.

Related Functions

load_textdomain, load_muplugin_textdomain, load_theme_textdomain, load_script_textdomain, load_plugin_textdomain

Top Google Results

User discussions

wpseek mobile