wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_feed_cache_transient_lifetime › WordPress Filter Hooks

Da2.8.0
Deprecaton/a
apply_filters( 'wp_feed_cache_transient_lifetime', $lifetime, $filename )
Parametri: (2)
  • (int) $lifetime Cache duration in seconds. Default is 43200 seconds (12 hours).
    Richiesto:
  • (string) $filename Unique identifier for the cache object.
    Richiesto:
Definito a:
Codex:

Filters the transient lifetime of the feed cache.





Sorgenti

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