wordpress / latest / hooks / load_textdomain.html

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 all references

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

Used By

Used By Description

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