W3cubDocs

/WordPress

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

$mofile = apply_filters( 'load_textdomain_mofile', $mofile, $domain );

Changelog

Version Description
2.9.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/load_textdomain_mofile