WordPress at a glance
function is not described

SimplePie_Enclosure::get_categories() public WP 1.0

Get all categories

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

No Hooks.

Return

Array|null. Array of SimplePie_Category{} objects

Usage

$SimplePie_Enclosure = new SimplePie_Enclosure();
$SimplePie_Enclosure->get_categories();

Code of SimplePie_Enclosure::get_categories() WP 5.7.2

<?php
public function get_categories()
{
	if ($this->categories !== null)
	{
		return $this->categories;
	}

	return null;
}