wordpress / latest / hooks / unload_textdomain.html

do_action( 'unload_textdomain', string $domain, bool $reloadable )

Fires before the text domain is unloaded.

Parameters

$domain string
Text domain. Unique identifier for retrieving translated strings.
$reloadable bool
Whether the text domain can be loaded just-in-time again.

Source

File: wp-includes/l10n.php. View all references

do_action( 'unload_textdomain', $domain, $reloadable );

Used By

Used By Description

Changelog

Version Description
6.1.0 Added the $reloadable parameter.
3.0.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/unload_textdomain