WordPress at a glance
function is not described

RSSCache::set() public WP 1.0

{} It's a method of the class: RSSCache{}

No Hooks.

Return

null. Nothing.

Usage

$RSSCache = new RSSCache();
$RSSCache->set ( $url, $rss );
$url (required)
-
$rss (required)
-

Code of RSSCache::set() WP 5.7.2

<?php
function set ($url, $rss) {
	$cache_option = 'rss_' . $this->file_name( $url );

	set_transient($cache_option, $rss, $this->MAX_AGE);

	return $cache_option;
}