WC_Product_Variable::get_type │ public │ WC 1.0

Get internal type.

Method of the class: WC_Product_Variable{}

No Hooks.

Returns

string.

Usage

$WC_Product_Variable = new WC_Product_Variable();
$WC_Product_Variable->get_type();

WC_Product_Variable::get_type() code WC 11.1.2

public function get_type() {
	return ProductType::VARIABLE;
}