RSSCache::set() WordPress Method
The RSSCache::set() method is used to cache an RSS feed. It accepts an RSS feed URL and an optional cache lifetime. If the cache lifetime is not specified, the cache will be used for the duration of the request.
RSSCache::set( $url, $rss ) #
Source
File: wp-includes/rss.php
function set ($url, $rss) { $cache_option = 'rss_' . $this->file_name( $url ); set_transient($cache_option, $rss, $this->MAX_AGE); return $cache_option; }
Expand full source codeCollapse full source codeView on TracView on GitHub