WordPress at Your Fingertips
function is not described

SimplePie_Source::get_category() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Source = new SimplePie_Source();
$SimplePie_Source->get_category( $key );
$key **
-

Code of SimplePie_Source::get_category() WP 5.8.2

public function get_category($key = 0)
{
	$categories = $this->get_categories();
	if (isset($categories[$key]))
	{
		return $categories[$key];
	}

	return null;
}