apply_filters ( 'jetpack_podcast_feed_cache_timeout', int $cache_timeout, string $podcast_url )

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.<p>Note that this timeout will only work if the site is using the default <code>WP_Feed_Cache_Transient</code> cache implementation for RSS feeds, or their cache implementation relies on the <code>wp_feed_cache_transient_lifetime</code> filter.</p>

Source file: _inc/lib/class-jetpack-podcast-helper.php

View in GitHub

Parameters

$cache_timeout

(int) 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

Since: Jetpack 11.3


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s