WordPress at a glance
function is not described

SimplePie_Enclosure::get_category() public WP 1.0

Get a single category

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

No Hooks.

Return

SimplePie_Category|null.

Usage

$SimplePie_Enclosure = new SimplePie_Enclosure();
$SimplePie_Enclosure->get_category( $key );
$key(int)
-

Code of SimplePie_Enclosure::get_category() WP 5.7.2

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

	return null;
}