wp-includes/class-wp-feed-cache-transient.php:57Creates a new (transient) cache object.
$locationstring$namestring$typeBase::TYPE_FEED|Base::TYPE_IMAGEOne hook fires while WP_Feed_Cache_Transient::__construct() runs, in this order:
Filters the transient lifetime of the feed cache.
public function __construct( $location, $name, $type ) { $this->name = 'feed_' . $name; $this->mod_name = 'feed_mod_' . $name; $lifetime = $this->lifetime; /** * Filters the transient lifetime of the feed cache. * * @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 ); }Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/class-wp-feed-cache-transient.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.