What is WordPress default feed cache recreation time? How to change it?

Default feed cache recreation time:
By default, WordPress feed cache recreation time or rather the cached feed has a lifetime of 43200 seconds, equivalent to 12 hours.

How to change it using the WordPress filter:
Change the default feed cache recreation period to 1800 seconds/30 minutes using wp_feed_cache_transient_lifetime filter

<?php
function return_cache_recreation( $seconds )
{
  return 1800;
}
add_filter( 'wp_feed_cache_transient_lifetime' , 'return_cache_recreation' );
/* Ends: Change the default feed cache recreation period */
?>

Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.