WPDev.one
Core Function
View Source on Trac ↗

load_child_theme_textdomain()

load_child_theme_textdomain( mixed $domain, mixed $path = false )

Loads the child theme's translated strings.

Parameters 2 required

Name / Type Description
$domain
string

Text domain. Unique identifier for retrieving translated strings.

Required
mixed

(string | false) $path Optional. Path to the directory containing the .mo file. Default false.

Required

Return Value

(bool)
True when the theme textdomain is successfully loaded, false otherwise.

Function Information

Since Version
2.9.0
Source File
wp-includes/l10n.php
Advertisement