WordPress at Your Fingertips
function is not described

WC_CLI::__construct() public WC 1.0

Load required files and hooks to make the CLI work.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_CLI::__construct() WC 5.7.0

public function __construct() {
	$this->includes();
	$this->hooks();
}