SimplePie_Item::get_enclosure
Get an enclosure from the item
Supports the <enclosure> RSS tag, as well as Media RSS and iTunes RSS.
Signature
public function get_enclosure([integer
$key = 0,
[
$prefer = NULL]] )
Parameters
$key
— integer- The enclosure that you want to return. Remember that arrays begin with 0, not 1
$prefer
—
Returns
- SimplePie_Enclosure|null
Line | Task |
---|---|
1065+ | Add ability to prefer one type of content over another (in a media group). |