WordPress at Your Fingertips
function is not described

SimplePie_Item::get_thumbnail() public WP 1.0

Get the media:thumbnail of the item

Uses <media:thumbnail>

{} It's a method of the class: SimplePie_Item{}

No Hooks.

Return

Array|null.

Usage

$SimplePie_Item = new SimplePie_Item();
$SimplePie_Item->get_thumbnail();

Code of SimplePie_Item::get_thumbnail() WP 5.8.2

public function get_thumbnail()
{
	if (!isset($this->data['thumbnail']))
	{
		if ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_MEDIARSS, 'thumbnail'))
		{
			$this->data['thumbnail'] = $return[0]['attribs'][''];
		}
		else
		{
			$this->data['thumbnail'] = null;
		}
	}
	return $this->data['thumbnail'];
}