SimplePie_Item::get_enclosure

SummerySummery

Get an enclosure from the item

Syntax

SimplePie_Item::get_enclosure( int $key,  $prefer = null )

DescriptionDescription

Supports the RSS tag, as well as Media RSS and iTunes RSS.

ParametersParameters

$key

(int) (Required) The enclosure that you want to return. Remember that arrays begin with 0, not 1

ReturnReturn

(SimplePie_Enclosure|null)

SourceSource

File: wp-includes/SimplePie/Item.php


			

ChangelogChangelog

Changelog
Version Description
Beta 2 Introduced.
Scroll to Top