Decrease WordPress RSS feed cache lifetime. I added this code to my WordPress theme so Ampache radio feeds update properly on my website.

Add the code to your current theme’s function.php:

add_filter( ‘wp_feed_cache_transient_lifetime’, create_function(‘$fixrss’, ‘return 15;’) );

RSS Feed cache expires in 15 seconds
via Decrease WordPress RSS Cache Lifetime | GalwayLand.

Annunci