WPDev.one
Core Function
View Source on Trac ↗

_get_path_to_translation_from_lang_dir()

_get_path_to_translation_from_lang_dir( mixed $domain )

Gets the path to a translation file in the languages directory for the current locale.

Parameters 1 required

Name / Type Description
$domain
string

Text domain. Unique identifier for retrieving translated strings.

Required

Return Value

((string)
| false) The path to the translation file or false if no translation file was found.

Function Information

Since Version
4.7.0
Source File
wp-includes/deprecated.php
Advertisement