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.
Source
File: wp-includes/l10n.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |