SimplePie::get_contributor

Advertisement

Summery Summery

Get a contributor for the feed

Syntax Syntax

SimplePie::get_contributor( int $key )

Parameters Parameters

$key

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

Return Return

(SimplePie_Author|null)

Source Source

File: wp-includes/class-simplepie.php

		{
			return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_MAYBE_HTML, $this->get_base($return[0]));
		}
		elseif ($return = $this->get_channel_tags(SIMPLEPIE_NAMESPACE_DC_11, 'title'))
		{
			return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
		}
		elseif ($return = $this->get_channel_tags(SIMPLEPIE_NAMESPACE_DC_10, 'title'))
		{
			return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
		}

Advertisement

Changelog Changelog

Changelog
Version Description
1.1 Introduced.

Advertisement

Leave a Reply