apply_filters( 'wp_feed_cache_transient_lifetime', int $lifetime, string $filename )

Filters the transient lifetime of the feed cache.


Parameters

$lifetime

Cache duration in seconds. Default is 43200 seconds (12 hours).

$filename

Unique identifier for the cache object.


Source

File: wp-includes/class-wp-feed-cache-transient.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.8.0 Introduced.