Requests::register_autoloader()

In this article

This method has been deprecated. Include the WpOrgRequestsAutoload class and call WpOrgRequestsAutoload::register() instead.

Register the built-in autoloader

Source

public static function register_autoloader() {
	require_once __DIR__ . '/Requests/src/Autoload.php';
	WpOrg\Requests\Autoload::register();
}

Changelog

VersionDescription
6.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.