On this page
RSSCache::set( $url, $rss )
Source
File: wp-includes/rss.php. View all references
function set ($url, $rss) {
$cache_option = 'rss_' . $this->file_name( $url );
set_transient($cache_option, $rss, $this->MAX_AGE);
return $cache_option;
}
Related
Uses
| Uses | Description |
|---|---|
| set_transient() wp-includes/option.php | Sets/updates the value of a transient. |
| RSSCache::file_name() wp-includes/rss.php |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/rsscache/set