WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Checkout\Helpers

ReserveStock::__construct() public WC 1.0

Constructor

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of ReserveStock::__construct() WC 5.9.0

public function __construct() {
	// Table needed for this feature are added in 4.3.
	$this->enabled = get_option( 'woocommerce_schema_version', 0 ) >= 430;
}