WordPress at Your Fingertips
function is not described

SimplePie_Registry::get_class() public WP 1.0

Get the class registered for a type

Where possible, use {@see create()} or {@see call()} instead

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

No Hooks.

Return

String|null.

Usage

$SimplePie_Registry = new SimplePie_Registry();
$SimplePie_Registry->get_class( $type );
$type(string) (required)
-

Code of SimplePie_Registry::get_class() WP 5.8.2

public function get_class($type)
{
	if (!empty($this->classes[$type]))
	{
		return $this->classes[$type];
	}
	if (!empty($this->default[$type]))
	{
		return $this->default[$type];
	}

	return null;
}