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



site_transient_{$transient} › WordPress过滤钩子

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

Filters the value of an existing site transient.

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




源码

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