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

In this article

Filters whether to override the .mo file loading.

Parameters

$overridebool
Whether to override the .mo file loading. Default false.
$domainstring
Text domain. Unique identifier for retrieving translated strings.
$mofilestring
Path to the MO file.
$localestring|null
Locale.

Source

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

Changelog

VersionDescription
6.2.0Added the $locale parameter.
2.9.0Introduced.

User Contributed Notes

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