WordPress at Your Fingertips
function is not described

WC_Autoloader::__construct() public WC 1.0

The Constructor.

{} It's a method of the class: WC_Autoloader{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Autoloader = new WC_Autoloader();
$WC_Autoloader->__construct();

Code of WC_Autoloader::__construct() WC 5.9.0

public function __construct() {
	if ( function_exists( '__autoload' ) ) {
		spl_autoload_register( '__autoload' );
	}

	spl_autoload_register( array( $this, 'autoload' ) );

	$this->include_path = untrailingslashit( plugin_dir_path( WC_PLUGIN_FILE ) ) . '/includes/';
}