Abstract_WC_Order_Item_Type_Data_Store::__construct
Class constructor.
Method of the class: Abstract_WC_Order_Item_Type_Data_Store{}
No Hooks.
Returns
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() Abstract WC Order Item Type Data Store:: construct code WC 11.1.2
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' );
}
}