SimplePie::set_rating_class()publicWP 1.0

Set which class SimplePie uses for <media:rating>

Method of the class: SimplePie{}

No Hooks.

Return

null. Nothing (null).

Usage

$SimplePie = new SimplePie();
$SimplePie->set_rating_class( $class );
$class **
-
Default: 'SimplePie_Rating'

SimplePie::set_rating_class() code WP 6.5.4

public function set_rating_class($class = 'SimplePie_Rating')
{
	return $this->registry->register('Rating', $class, true);
}