Quantcast
Channel: RSS: fetch_feed caching with different caching delay per feed? - WordPress Development Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by TheDeadMedic for RSS: fetch_feed caching with different caching...

You can use the second parameter passed to the wp_feed_cache_transient_lifetime filter which, in the context of fetch_feed(), is the URL of the feed:add_filter( 'wp_feed_cache_transient_lifetime',...

View Article



RSS: fetch_feed caching with different caching delay per feed?

I have seen that the filter wp_feed_cache_transient_lifetime can be used to set the cache period for fetch_feed. But this seems to set it globally for all feeds. Is there a way to have a different...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images