WP_Feed_Cache

Core class used to implement a feed cache.

Defined (1)

The class is defined in the following location(s).

/wp-includes/class-feed.php  
  1. class WP_Feed_Cache extends SimplePie_Cache { 
  2.  
  3. /** 
  4. * Creates a new SimplePie_Cache object. 
  5. * @since 2.8.0 
  6. * @access public 
  7. * @param string $location URL location (scheme is used to determine handler). 
  8. * @param string $filename Unique identifier for cache object. 
  9. * @param string $extension 'spi' or 'spc'. 
  10. * @return WP_Feed_Cache_Transient Feed cache handler object that uses transients. 
  11. */ 
  12. public function create($location, $filename, $extension) { 
  13. return new WP_Feed_Cache_Transient($location, $filename, $extension);