WP_Feed_Cache::create

SummerySummery

Creates a new SimplePie_Cache object.

Syntax

WP_Feed_Cache::create( string $location, string $filename, string $extension )

ParametersParameters

$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'.

ReturnReturn

(WP_Feed_Cache_Transient) Feed cache handler object that uses transients.

SourceSource

File: wp-includes/class-wp-feed-cache.php


			

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.
Scroll to Top