wp_simplepie_autoload()
WordPress autoloader for SimplePie.
No Hooks.
Return
null
. Nothing (null).
Usage
wp_simplepie_autoload( $class );
- $class(string) (required)
- Class name.
Changelog
Since 3.5.0 | Introduced. |
wp_simplepie_autoload() wp simplepie autoload code WP 6.6.2
function wp_simplepie_autoload( $class ) { if ( ! str_starts_with( $class, 'SimplePie_' ) ) return; $file = ABSPATH . WPINC . '/' . str_replace( '_', '/', $class ) . '.php'; include $file; }