Core Function
View Source on Trac ↗ unload_textdomain()
unload_textdomain( mixed $domain, mixed $reloadable = false ) Unloads translations for a text domain.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $domain string | Text domain. Unique identifier for retrieving translated strings. Required |
| $reloadable bool | Whether the text domain can be loaded just-in-time again. |
Return Value
(bool)
Whether textdomain was unloaded.
Function Information
Since Version
3.0.0
Source File
wp-includes/l10n.php
Advertisement