WC_WCCOM_Site_Installation_State::set_product_type()publicWC 1.0

Set the product type.

Method of the class: WC_WCCOM_Site_Installation_State{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_WCCOM_Site_Installation_State = new WC_WCCOM_Site_Installation_State();
$WC_WCCOM_Site_Installation_State->set_product_type( $product_type );
$product_type(string) (required)
The product type.

WC_WCCOM_Site_Installation_State::set_product_type() code WC 9.4.2

public function set_product_type( $product_type ) {
	$this->product_type = $product_type;
}