unload_textdomain

动作钩子


do_action( 'unload_textdomain', $domain, $reloadable )
参数
  • (string)
    $domain
    Text domain. Unique identifier for retrieving translated strings.
    Required:
  • (bool)
    $reloadable
    Whether the text domain can be loaded just-in-time again.
    Required:
定义位置
  • wp-includes/l10n.php
    , line 836
引入
6.1.0
弃用

Fires before the text domain is unloaded.

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