lang_dir_for_domain
lang_dir_for_domain
Appears in: wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7, wordpress-6.7.1, wordpress-6.7.2
Hook Type: filter
Displaying hooks found in version: wordpress-6.7.2apply_filters('lang_dir_for_domain') is found 1 times:
- /wp-includes/class-wp-textdomain-registry.php line 105101102103104105106107108109110111
* @param string|false
$path
Languages directory path
for
the given domain
and
locale.
* @param string
$domain
Text domain.
* @param string
$locale
Locale.
*/
return
apply_filters(
'lang_dir_for_domain'
,
$path
,
$domain
,
$locale
);
}
/**
* Determines whether any MO file paths are available
for
the domain.
*
* This is the
case
if
a path has been set
for
the current locale,