_get_path_to_translation
- %1$s is private and should not be used in themes or plugins directly.
- _get_path_to_translation is deprecated since version 6.1.0!
Alternative: WP_Textdomain_Registry
_get_path_to_translation ( $domain, $reset = false )
Access:Parameters:- (string) domain Text domain. Unique identifier for retrieving translated strings.
- (bool) reset Whether to reset the internal cache. Used by the switch to locale functionality.
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 for loading a textdomain just in time.Caches the retrieved results internally.