wordpress snippets last updated   : April 22, 2014
we now have 631 snippets

Set fetch_feed to update sooner

wordpress snippet

Adding this code snippet to your functions.php will force fetch_feed( $uri ) to update sooner, set time in milliseconds.

snippet :  PHPcopy
add_filter( 'wp_feed_cache_transient_lifetime', create_function('$a', 'return 900;') );

jqsnipp.com | we just launched jquery snippets website