WordPress开发者和主题制作者的搜索引擎



transient_{$transient} ›

Since4.4.0
已弃用n/a
apply_filters( "transient_{$transient}", $value, $transient )
参数: (2)
  • (mixed) $value Value of transient.
    Required: Yes
  • (string) $transient Transient name.
    Required: Yes
定义在:
文档:

Filters an existing transient's value.

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





源码

return apply_filters( "transient_{$transient}", $value, $transient );