apply_filters( 'wp_feed_cache_transient_lifetime', int $lifetime, string $filename )
Filters the transient lifetime of the feed cache.
Parameters
- $lifetime
-
(int) Cache duration in seconds. Default is 43200 seconds (12 hours).
- $filename
-
(string) Unique identifier for the cache object.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_feed_cache_transient_lifetime