WordPress at Your Fingertips
function is not described

SimplePie_Enclosure::get_ratings() public WP 1.0

Get all ratings

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

No Hooks.

Return

Array|null. Array of SimplePie_Rating{} objects

Usage

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

Code of SimplePie_Enclosure::get_ratings() WP 5.8.2

public function get_ratings()
{
	if ($this->ratings !== null)
	{
		return $this->ratings;
	}

	return null;
}