Requests::register_autoloaderpublic staticWP 1.0

Deprecated since 6.2.0 Include the `WpOrg\Requests\Autoload` class and call `WpOrg\Requests\Autoload::register()` instead.. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Register the built-in autoloader

Method of the class: Requests{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = Requests::register_autoloader();

Changelog

Deprecated since 6.2.0 Include the WpOrg\Requests\Autoload class and
call WpOrg\Requests\Autoload::register() instead.

Requests::register_autoloader() code WP 6.9.1

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