Filters whether to short-circuit loading .mo file.
Description
Returning a non-null value from the filter will effectively short-circuit the loading, returning the passed value instead.
Parameters
$loaded
bool|null- The result of loading a .mo file. Default null.
$domain
string- Text domain. Unique identifier for retrieving translated strings.
$mofile
string- Path to the MO file.
$locale
string|null- Locale.
Source
$loaded = apply_filters( 'pre_load_textdomain', null, $domain, $mofile, $locale );
Changelog
Version | Description |
---|---|
6.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.