WordPress at Your Fingertips
function is not described

SimplePie_Item::get_item_tags() public WP 1.0

Get data for an item-level element

This method allows you to get access to ANY element/attribute that is a sub-element of the item/entry tag.

See SimplePie::get_feed_tags() for a description of the return value

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

No Hooks.

Return

Array.

Usage

$SimplePie_Item = new SimplePie_Item();
$SimplePie_Item->get_item_tags( $namespace, $tag );
$namespace(string) (required)
The URL of the XML namespace of the elements you're trying to access
$tag(string) (required)
Tag name

Notes

Changelog

Since 1.0 Introduced.

Code of SimplePie_Item::get_item_tags() WP 5.8.2

public function get_item_tags($namespace, $tag)
{
	if (isset($this->data['child'][$namespace][$tag]))
	{
		return $this->data['child'][$namespace][$tag];
	}

	return null;
}