Summery Summery
Create a new cache object
Syntax Syntax
Parameters Parameters
- $location
-
(Required) Location string (from SimplePie::$cache_location)
- $name
-
(Required) Unique ID for the cache
- $type
-
(Required) Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data
Source Source
File: wp-includes/SimplePie/Cache/File.php
{ $this->location = $location; $this->filename = $name; $this->extension = $type; $this->name = "$this->location/$this->filename.$this->extension"; }