How to force the RSS Widget to refresh more often

To apply this trick, simply put the following code into your functions.php file:

add_filter( 'wp_feed_cache_transient_lifetime', create_function('$a', 'return 600;') );

Thanks to Smashing Magazine for the code!

Leave a Reply

Your email address will not be published. Required fields are marked *