apply_filters( 'load_textdomain_mofile', string $mofile , string $domain )
Filters MO file path for loading translations for a specific text domain.
Parameters
-
$mofile
string -
Path to the MO file.
-
$domain
string -
Text domain. Unique identifier for retrieving translated strings.
Source
File: wp-includes/l10n.php
.
View all references
$mofile = apply_filters( 'load_textdomain_mofile', $mofile, $domain );
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
An example that allows to override the default translations of a plugin: