unload_textdomain WordPress Action Hook

The unload_textdomain function is a WordPress hook that is triggered when a text domain is unloaded. This can be useful for cleaning up any resources that were loaded when the text domain was loaded.

do_action( 'unload_textdomain', string $domain ) #

Fires before the text domain is unloaded.


Parameters

$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.