SimplePie_Item::__construct

Advertisement

Summery Summery

Create a new item object

Syntax Syntax

SimplePie_Item::__construct( SimplePie $feed, array $data )

Description Description

This is usually used by SimplePie::get_items and SimplePie::get_item. Avoid creating this manually.

Parameters Parameters

$feed

(Required) Parent feed

$data

(Required) Raw data

Source Source

File: wp-includes/SimplePie/Item.php

	{
		$this->feed = $feed;
		$this->data = $data;
	}

Advertisement

Advertisement

Leave a Reply