WordPress at Your Fingertips
function is not described

SimplePie_Item::get_contributor() public WP 1.1

Get a contributor for the item

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

No Hooks.

Return

SimplePie_Author|null.

Usage

$SimplePie_Item = new SimplePie_Item();
$SimplePie_Item->get_contributor( $key );
$key(int)
The contrbutor that you want to return. Remember that arrays begin with 0, not 1

Changelog

Since 1.1 Introduced.

Code of SimplePie_Item::get_contributor() WP 5.8.2

public function get_contributor($key = 0)
{
	$contributors = $this->get_contributors();
	if (isset($contributors[$key]))
	{
		return $contributors[$key];
	}

	return null;
}