_load_textdomain_just_in_time


_load_textdomain_just_in_time ( $domain )

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

Description

Loads plugin and theme textdomains 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_texdomain() or load_theme_texdomain().

Related Functions

load_textdomain, unload_textdomain, load_theme_textdomain, load_plugin_textdomain, load_default_textdomain

Top Google Results

User discussions

wpseek mobile