Advertisement

Summery Summery

Filters the transient lifetime of the feed cache.

Syntax Syntax

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

Parameters Parameters

$lifetime

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

$filename

(string) Unique identifier for the cache object.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.