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

Filters whether to override the .mo file loading.


Parameters

$override

Whether to override the .mo file loading. Default false.

$domain

Text domain. Unique identifier for retrieving translated strings.

$mofile

Path to the MO file.

$locale

Locale.


Source

File: wp-includes/l10n.php

View on GitHub



Changelog

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