do_action( 'load_textdomain', string $domain, string $mofile )

Fires before the MO translation file is loaded.

Parameters

$domain

(string) Text domain. Unique identifier for retrieving translated strings.

$mofile

(string) Path to the .mo file.

Source

File: wp-includes/l10n.php

View on Trac

Changelog

Version Description
2.9.0 Introduced.

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