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



pre_set_site_transient_{$transient} › WordPress过滤钩子

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

Filters the value of a specific site transient before it is set.

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





源码

$value = apply_filters( "pre_set_site_transient_{$transient}", $value, $transient );