W3cubDocs

/WordPress

apply_filters( ‘lang_dir_for_domain’, string|false $path, string $domain, string $locale )

Filters the determined languages directory path for a specific domain and locale.

Parameters

$pathstring|false
Languages directory path for the given domain and locale.
$domainstring
Text domain.
$localestring
Locale.

Source

return apply_filters( 'lang_dir_for_domain', $path, $domain, $locale );

Changelog

Version Description
6.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/lang_dir_for_domain