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
$mofile = apply_filters( 'load_textdomain_mofile', $mofile, $domain );
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
An example that allows to override the default translations of a plugin: