Creates a new SimplePie\Cache object.
Parameters
$locationstringrequired- URL location (scheme is used to determine handler).
$filenamestringrequired- Unique identifier for cache object.
$extensionstringrequired'spi'or'spc'.
Source
public function create( $location, $filename, $extension ) {
return new WP_Feed_Cache_Transient( $location, $filename, $extension );
}
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.