apply_filters( 'override_load_textdomain', bool $override, string $domain, string $mofile, string|null $locale )

Filters whether to override the .mo file loading.


Parameters

$override bool
Whether to override the .mo file loading. Default false.
$domain string
Text domain. Unique identifier for retrieving translated strings.
$mofile string
Path to the MO file.
$locale string|null
Locale.

Top ↑

Source

File: wp-includes/l10n.php. View all references

$plugin_override = apply_filters( 'override_load_textdomain', false, $domain, $mofile, $locale );


Top ↑

Changelog

Changelog
Version Description
6.2.0 Added the $locale parameter.
2.9.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.