_get_path_to_translation_from_lang_dir

Private AccessPrivate Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness. Use _get_path_to_translation() instead.

SummerySummery

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

Syntax

_get_path_to_translation_from_lang_dir( string $domain )

DescriptionDescription

Holds a cached list of available .mo files to improve performance.

ParametersParameters

$domain

(string) (Required) Text domain. Unique identifier for retrieving translated strings.

ReturnReturn

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

SourceSource

File: wp-includes/l10n.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.

See alsoSee also

Scroll to Top