WordPress at Your Fingertips
function is not described

SimplePie_Cache_Base::__construct() public WP 1.0

Create a new cache object

{} It's a method of the class: SimplePie_Cache_Base{}

No Hooks.


null. Nothing.


$SimplePie_Cache_Base = new SimplePie_Cache_Base();
$SimplePie_Cache_Base->__construct( $location, $name, $type );
$location(string) (required)
Location string (from SimplePie::$cache_location)
$name(string) (required)
Unique ID for the cache
$type(string) (required)
Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data

Code of SimplePie_Cache_Base::__construct() WP 5.8.3

public function __construct($location, $name, $type);