apply_filters( 'load_textdomain_mofile', string $mofile , string $domain )
Filters MO file path for loading translations for a specific text domain.
Description Description
Parameters Parameters
- $mofile
-
(string) Path to the MO file.
- $domain
-
(string) Text domain. Unique identifier for retrieving translated strings.
Source Source
File: wp-includes/l10n.php
Changelog Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
User Contributed Notes 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: