wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_feed_cache_transient_lifetime › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'wp_feed_cache_transient_lifetime', $lifetime, $name )
Parameters: (2)
  • (int) $lifetime Cache duration in seconds. Default is 43200 seconds (12 hours).
    Required: Yes
  • (string) $name Unique identifier for the cache object.
    Required: Yes
Defined at:
Codex:

Filters the transient lifetime of the feed cache.





Source

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