Deprecated autoloader for Requests.
Parameters
$class
stringrequired- Class name to load
Source
public static function autoloader($class) {
if (class_exists('WpOrg\Requests\Autoload') === false) {
require_once __DIR__ . '/Requests/src/Autoload.php';
}
return WpOrg\Requests\Autoload::load($class);
}
Changelog
Version | Description |
---|---|
6.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.