[wp-hackers] Clearing Feed Cache?

Dougal Campbell dougal at gunters.org
Thu Jul 15 16:54:35 UTC 2010

On Jul 15 2010 3:09 AM, Frank Bueltge wrote:
> add_filter( 'wp_feed_cache_transient_lifetime', create_function( '$a',
> 'return 1800;' ) );
> use this filter to set a new time for the cache.
> more also in my post: http://wpengineer.com/feed-cache-in-wordpress/
> Best regards
> Frank

If you want to only change the cache lifetime for a particular feed, you 
can use URL matching like I demonstrated here:


Dougal Campbell <dougal at gunters.org>

More information about the wp-hackers mailing list