wp_simplepie_autoload()WP 3.5.0

WordPress autoloader for SimplePie.

No Hooks.

Return

null. Nothing.

Usage

wp_simplepie_autoload( $class );
$class (required)
-

Changelog

Since 3.5.0 Introduced.

wp_simplepie_autoload() code WP 6.1.1

function wp_simplepie_autoload( $class ) {
	if ( 0 !== strpos( $class, 'SimplePie_' ) )
		return;

	$file = ABSPATH . WPINC . '/' . str_replace( '_', '/', $class ) . '.php';
	include $file;
}