WP_CLI

Autoloader::unregisterpublicWP-CLI 1.0

Unregisters the autoload callback with the SPL autoload system.

Method of the class: Autoloader{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Autoloader::unregister() code WP-CLI 2.13.0-alpha

public function unregister() {
	spl_autoload_unregister( [ $this, 'autoload' ] );
}