Summery Summery
Create a new SimplePie_Cache object
Syntax Syntax
Parameters Parameters
- $location
-
(Required) URL location (scheme is used to determine handler)
- $filename
-
(Required) Unique identifier for cache object
- $extension
-
(Required) 'spi' or 'spc'
Return Return
(SimplePie_Cache_Base) Type of object depends on scheme of $location
Source Source
File: wp-includes/SimplePie/Cache.php
*/ public static function get_handler($location, $filename, $extension) { $type = explode(':', $location, 2); $type = $type[0]; if (!empty(self::$handlers[$type])) { $class = self::$handlers[$type]; return new $class($location, $filename, $extension); } return new SimplePie_Cache_File($location, $filename, $extension);