Requests::register_autoloader()public staticWP 1.0

Deprecated from version 6.2.0 Include the `WpOrg\Requests\Autoload` class and call `WpOrg\Requests\Autoload::register()` instead.. It is no longer supported and can 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.

Return

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.4.3

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