WP_CLI

Autoloader::register()publicWP-CLI 1.0

Registers the autoload callback with the SPL autoload system.

Метод класса: Autoloader{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Autoloader = new Autoloader();
$Autoloader->register();

Код Autoloader::register() WP-CLI 2.8.0-alpha

public function register() {
	spl_autoload_register( [ $this, 'autoload' ] );
}