RSSCache::get()

最后更新于:2021-11-26 04:11:05

RSSCache::get($url)

源文件

文件: gc-includes/rss.php

	function get ($url) {
		$this->ERROR = "";
		$cache_option = 'rss_' . $this->file_name( $url );

		if ( ! $rss = get_transient( $cache_option ) ) {
			$this->debug(
				"Cache doesn't contain: $url (cache option: $cache_option)"
			);
			return 0;
		}

		return $rss;
	}