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.


Top ↑

Source

File: wp-includes/l10n.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.