RSSCache::set()
Method of the class: RSSCache{}
No Hooks.
Return
null
. Nothing (null).
Usage
$RSSCache = new RSSCache(); $RSSCache->set ( $url, $rss );
- $url (required)
- -
- $rss (required)
- -
RSSCache::set() RSSCache::set code WP 6.6.2
function set ($url, $rss) { $cache_option = 'rss_' . $this->file_name( $url ); set_transient($cache_option, $rss, $this->MAX_AGE); return $cache_option; }