On this page
RSSCache::get( $url )
Source
File: wp-includes/rss.php. View all references
function get ($url) {
$this->ERROR = "";
$cache_option = 'rss_' . $this->file_name( $url );
if ( ! $rss = get_transient( $cache_option ) ) {
$this->debug(
"Cache does not contain: $url (cache option: $cache_option)"
);
return 0;
}
return $rss;
}
Related
Uses
| Uses | Description |
|---|---|
| get_transient() wp-includes/option.php | Retrieves the value of a transient. |
| RSSCache::file_name() wp-includes/rss.php | |
| RSSCache::debug() wp-includes/rss.php |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/rsscache/get