delete_site_transient_{$transient}

动作钩子


do_action( "delete_site_transient_{$transient}", $transient )
参数
  • (string)
    $transient
    Transient name.
    Required:
定义位置
  • wp-includes/option.php
    , line 1888
引入
3.0.0
弃用

Fires immediately before a specific site transient is deleted.

The dynamic portion of the hook name, $transient, refers to the transient name.

do_action( "delete_site_transient_{$transient}", $transient );