WP_CLI
Autoloader::register()
Registers the autoload callback with the SPL autoload system.
Метод класса: Autoloader{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Autoloader = new Autoloader(); $Autoloader->register();
Код Autoloader::register() Autoloader::register WP-CLI 2.8.0-alpha
public function register() { spl_autoload_register( [ $this, 'autoload' ] ); }