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



wp_feed_cache_transient_lifetime › WordPress过滤钩子

Since2.8.0
已弃用n/a
› apply_filters( 'wp_feed_cache_transient_lifetime', $lifetime, $name )
参数: (2)
  • () lifetime Cache duration in seconds. Default is 43200 seconds (12 hours).
    Required: Yes
  • () name Unique identifier for the cache object.
    Required: Yes
定义在:
文档:

Filters the transient lifetime of the feed cache.





源码

$this->lifetime = apply_filters( 'wp_feed_cache_transient_lifetime', $lifetime, $name );