If the current locale exists as a .mo file in the child theme's root directory, it will be included in the translated strings by the $domain. The .mo files must be named based on the locale exactly.
Parameters
$domainstring
Text domain. Unique identifier for retrieving translated strings.
$pathstring|falseoptional
Path to the directory containing the .mo file. Default false.Default: false
Return
bool
True when the theme textdomain is successfully loaded, false otherwise.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 6.7.7 tag, from src/wp-includes/l10n.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.