RSS feed widget refresh

The default refresh time for the built-in WordPress RSS widget is set to 1 hour. In order to change this behavior, add the following snippet to your theme’s functions.php file, modifying the time in seconds:

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