wp-includes/SimplePie/src/Item.php:907Get an enclosure from the item
$keyintoptional0$preferoptionalnullSimplePie\Enclosure|null public function get_enclosure($key = 0, $prefer = null) { $enclosures = $this->get_enclosures(); if (isset($enclosures[$key])) { return $enclosures[$key]; } return null; }Introduced in Beta 2. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$prefer removed.verified against sourcesrc/wp-includes/SimplePie/src/Item.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.