Tag Info

New answers tagged

1

You could simply use fetch_feed() that implements it's own extension of SimplePie_Cache: $feed = new SimplePie(); ... $feed->set_cache_class( 'WP_Feed_Cache' ); ... $feed->set_feed_url( $url ); ... $feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $url ) ); that caches the feeds with ...



Top 50 recent answers are included