On this page
apply_filters( 'load_textdomain_mofile', string $mofile, string $domain )
Filters MO file path for loading translations for a specific text domain.
Parameters
$mofilestring-
Path to the MO file.
$domainstring-
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 );
Related
Used By
| Used By | Description |
|---|---|
| load_textdomain() wp-includes/l10n.php | Loads a .mo file into the text domain $domain. |
Changelog
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/load_textdomain_mofile