override_unload_textdomain WordPress Filter Hook
The override_unload_textdomain hook is used to override the default textdomain for a given domain. This can be useful for customizing the textdomain for a specific plugin or theme.
apply_filters( 'override_unload_textdomain', bool $override , string $domain ) #
Filters whether to override the text domain unloading.
Parameters
- $override
(bool)Whether to override the text domain unloading. Default false.
- $domain
(string)Text domain. Unique identifier for retrieving translated strings.
Source
File: wp-includes/l10n.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |