SimplePie_Item::get_item_tags

Advertisement

Summery Summery

Get data for an item-level element

Syntax Syntax

SimplePie_Item::get_item_tags( string $namespace, string $tag )

Description Description

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

Parameters Parameters

$namespace

(string) (Required) The URL of the XML namespace of the elements you're trying to access

$tag

(string) (Required) Tag name

Return Return

(array)

Source Source

File: wp-includes/SimplePie/Item.php

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

		return null;
	}

	/**
	 * Get the base URL value from the parent feed

Advertisement

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

See also See also

Advertisement

Leave a Reply

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