Action hook 'unload_textdomain'

in WP Core File wp-includes/l10n.php at line 912

Description

Fires before the text domain is unloaded.

Occurrences

Filename Line Number
wp-includes/l10n.php 912

Parameters

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

PHP Doc

/**
	 * Fires before the text domain is unloaded.
	 *
	 * @since 3.0.0
	 * @since 6.1.0 Added the `$reloadable` parameter.
	 *
	 * @param string $domain     Text domain. Unique identifier for retrieving translated strings.
	 * @param bool   $reloadable Whether the text domain can be loaded just-in-time again.
	 */