SimplePie_Item::get_source

Advertisement

Summery Summery

Get the <atom:source> for the item

Syntax Syntax

SimplePie_Item::get_source()

Return Return

(SimplePie_Source|null)

Source Source

File: wp-includes/SimplePie/Item.php

	 * Get the `<atom:source>` for the item
	 *
	 * @since 1.1
	 * @return SimplePie_Source|null
	 */
	public function get_source()
	{
		if ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'source'))
		{
			return $this->registry->create('Source', array($this, $return[0]));
		}

Advertisement

Changelog Changelog

Changelog
Version Description
1.1 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?