SimplePie_Cache_File::__construct

Advertisement

Summery Summery

Create a new cache object

Syntax Syntax

SimplePie_Cache_File::__construct( string $location, string $name, string $type )

Parameters Parameters

$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

Source Source

File: wp-includes/SimplePie/Cache/File.php

	{
		$this->location = $location;
		$this->filename = $name;
		$this->extension = $type;
		$this->name = "$this->location/$this->filename.$this->extension";
	}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.