_get_path_to_translation_from_lang_dir
- %1$s is private and should not be used in themes or plugins directly.
- _get_path_to_translation_from_lang_dir is deprecated since version 6.1.0!
Alternative: WP_Textdomain_Registry
_get_path_to_translation_from_lang_dir ( $domain )
Access: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: - Introduced in WordPress: 4.7.0
- Deprecated in WordPress: 6.1.0
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.