WC_WCCOM_Site_Installation_State::set_product_type
Set the product type.
Method of the class: WC_WCCOM_Site_Installation_State{}
No Hooks.
Returns
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() WC WCCOM Site Installation State::set product type code WC 10.6.2
public function set_product_type( $product_type ) {
$this->product_type = $product_type;
}