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
do_action( 'load_textdomain', $domain, $mofile );
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
Example: