SimplePie::get_category

Advertisement

Summery Summery

Get a category for the feed

Syntax Syntax

SimplePie::get_category( int $key )

Parameters Parameters

$key

(int) (Required) The category that you want to return. Remember that arrays begin with 0, not 1

Return Return

(SimplePie_Category|null)

Source Source

File: wp-includes/class-simplepie.php

	 * See {@see SimplePie::get_feed_tags()} for a description of the return value
	 *
	 * @since 1.0
	 * @see http://simplepie.org/wiki/faq/supported_xml_namespaces
	 * @param string $namespace The URL of the XML namespace of the elements you're trying to access
	 * @param string $tag Tag name
	 * @return array
	 */
	public function get_channel_tags($namespace, $tag)
	{
		$type = $this->get_type();
		if ($type & SIMPLEPIE_TYPE_ATOM_ALL)

Advertisement

Changelog Changelog

Changelog
Version Description
Unknown Introduced.

Advertisement

Leave a Reply

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

What are you looking for?