wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_feed_cache_transient_lifetime › WordPress Filter Hooks

Seit2.8.0
Veraltetn/v
apply_filters( 'wp_feed_cache_transient_lifetime', $lifetime, $filename )
Parameter: (2)
  • (int) $lifetime Cache duration in seconds. Default is 43200 seconds (12 hours).
    Erforderlich: Ja
  • (string) $filename Unique identifier for the cache object.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the transient lifetime of the feed cache.





Quellcode

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