Filters the transient lifetime of the feed cache.
$lifetimeint$namestringwp-includes/class-wp-feed-cache-transient.php:71WP_Feed_Cache_Transient::__construct()wp-includes/feed.php:836fetch_feed() * * @since 2.8.0 * * @param int $lifetime Cache duration in seconds. Default is 43200 seconds (12 hours). * @param string $name Unique identifier for the cache object. */ $this->lifetime = apply_filters( 'wp_feed_cache_transient_lifetime', $lifetime, $name ); } /** * Saves data to the transient. * * @since 2.8.0Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.