In this article

filter

jetpack_podcast_feed_cache_timeout

Filter the number of seconds to cache a specific podcast URL for. The returned value will be ignored if it is null or not a valid integer. Note that this timeout will only work if the site is using the default `WP_Feed_Cache_Transient` cache implementation for RSS feeds, or their cache implementation relies on the `wp_feed_cache_transient_lifetime` filter.

Parameters

$cache_timeout
(int | null)

The number of seconds to cache the podcast data. Default value is null, so we don't override any defaults from existing filters.

$podcast_url
string

The URL of the podcast feed.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.