Description
Load the translated strings for a plugin residing in the mu-plugins directory.
Usage
<?php load_muplugin_textdomain( $domain, $mu_plugin_rel_path ) ?>
Parameters
- $domain
- (string) (required) Text domain. Unique identifier for retrieving translated strings.
- Default: None
- $$mu_plugin_rel_path
- (string) (optional) Relative to WPMU_PLUGIN_DIR directory in which the .mo file resides.
- Default: empty string
Return Values
- boolean
- Returns true if the override_load_textdomain filter returns true or the language file was loaded successfully. Returns false, if the language file could not be loaded (it is not readable or the mo file reader can not understand it).
Change Log
Source File
load_muplugin_textdomain() is located in wp-includes/l10n.php
.
Related
Localization: get_locale(), load_textdomain(), load_default_textdomain(), load_plugin_textdomain(), load_theme_textdomain()