Requests::register_autoloader()
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 |
Requests::register_autoloader() Requests::register autoloader code WP 6.7.2
public static function register_autoloader() { require_once __DIR__ . '/Requests/src/Autoload.php'; WpOrg\Requests\Autoload::register(); }