WordPress at a glance
function is not described

WP_Feed_Cache::create() public WP 2.8.0

Creates a new SimplePie_Cache object.

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

No Hooks.

Return

WP_Feed_Cache_Transient. Feed cache handler object that uses transients.

Usage

$WP_Feed_Cache = new WP_Feed_Cache();
$WP_Feed_Cache->create( $location, $filename, $extension );
$location(string) (required)
URL location (scheme is used to determine handler).
$filename(string) (required)
Unique identifier for cache object.
$extension(string) (required)
'spi' or 'spc'.

Changelog

Since 2.8.0 Introduced.

Code of WP_Feed_Cache::create() WP 5.5.1

<?php
public function create( $location, $filename, $extension ) {
	return new WP_Feed_Cache_Transient( $location, $filename, $extension );
}