WordPress at a glance
function is not described

RSSCache::check_cache() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$RSSCache = new RSSCache();
$RSSCache->check_cache ( $url );
$url (required)
-

Code of RSSCache::check_cache() WP 5.7.2

<?php
function check_cache ( $url ) {
	$this->ERROR = "";
	$cache_option = 'rss_' . $this->file_name( $url );

	if ( get_transient($cache_option) ) {
		// object exists and is current
			return 'HIT';
	} else {
		// object does not exist
		return 'MISS';
	}
}