SimplePie::set_source_class()publicWP 1.0

Set which class SimplePie uses item sources

Метод класса: SimplePie{}

No Hooks.

Return

null. Nothing.

Usage

$SimplePie = new SimplePie();
$SimplePie->set_source_class( $class );
$class **
-
Default: 'SimplePie_Source'

Code of SimplePie::set_source_class() WP 6.1.1

public function set_source_class($class = 'SimplePie_Source')
{
	return $this->registry->register('Source', $class, true);
}