Autoloader::init()
Require the autoloader and return the result.
Description Description
If the autoloader is not present, let’s log the failure and display a nice admin notice.
Return Return
(boolean)
Source Source
File: src/Autoloader.php
public static function init() {
$autoloader = dirname( __DIR__ ) . '/vendor/autoload_packages.php';
if ( ! is_readable( $autoloader ) ) {
self::missing_autoloader();
return false;
}
return require $autoloader;
}