_load_textdomain_just_in_time


_load_textdomain_just_in_time ( $domain )

Access:
  • private
Parameters:
  • (string) domain Text domain. Unique identifier for retrieving translated strings.
Returns:
  • (bool) True when the textdomain is successfully loaded, false otherwise.
Defined at:

Description

Loads plugin and theme text domains just-in-time.When a textdomain is encountered for the first time, we try to load the translation file from `wp-content/languages`, removing the need to call load_plugin_textdomain() or load_theme_textdomain().

Related Functions

load_textdomain, unload_textdomain, load_theme_textdomain, load_plugin_textdomain, load_script_textdomain

Top Google Results

User discussions

wpseek mobile