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

(SimplePie) (Required) Parent feed

$data

(array) (Required) Raw data

Source Source

File: wp-includes/SimplePie/Item.php

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

Advertisement

Advertisement

Leave a Reply

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