RSSCache::get() –

You appear to be a bot. Output may be restricted

Description

Usage

RSSCache::get( $url );

Parameters

$url
( mixed ) required

Returns

void

Source

File name: wordpress/wp-includes/rss.php


Lines:

1 to 14 of 14
  function get ($url) {
    $this->ERROR = "";
    $cache_option = 'rss_' . $this->RSSCache::file_name( $url );

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

    return $rss;
  }
 

 View on GitHub View on Trac