wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_feed_cache_transient_lifetime › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
apply_filters( 'wp_feed_cache_transient_lifetime', $lifetime, $filename )
Parametry: (2)
  • (int) $lifetime Cache duration in seconds. Default is 43200 seconds (12 hours).
    Wymagane: Tak
  • (string) $filename Unique identifier for the cache object.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the transient lifetime of the feed cache.





Źródło

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