_get_path_to_translation_from_lang_dir


_get_path_to_translation_from_lang_dir ( $domain )

Access:
  • private
Parameters:
  • (string) domain Text domain. Unique identifier for retrieving translated strings.
See:
Returns:
  • (string|false) The path to the translation file or false if no translation file was found.
Defined at:

Description

Gets the path to a translation file in the languages directory for the current locale.Holds a cached list of available .mo files to improve performance.

Related Functions

_get_path_to_translation, get_translations_for_domain, wp_get_translation_updates, wp_load_translations_early, wp_set_script_translations

Top Google Results

User discussions

wpseek mobile