Abstract_WC_Order_Item_Type_Data_Store::__construct()publicWC 1.0

Class constructor.

Method of the class: Abstract_WC_Order_Item_Type_Data_Store{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Abstract_WC_Order_Item_Type_Data_Store::__construct() code WC 9.5.1

public function __construct() {
	$this->cogs_is_enabled = $this->cogs_is_enabled();
	if ( $this->cogs_is_enabled ) {
		$this->order_item_data_store = WC_Data_Store::load( 'order-item' );
	}
}