WordPress at Your Fingertips
function is not described

SimplePie_Item::get_source() public WP 1.1

Get the <atom:source> for the item

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

No Hooks.

Return

SimplePie_Source|null.

Usage

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

Changelog

Since 1.1 Introduced.

Code of SimplePie_Item::get_source() WP 5.8.2

public function get_source()
{
	if ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'source'))
	{
		return $this->registry->create('Source', array($this, $return[0]));
	}

	return null;
}