WordPress at Your Fingertips
function is not described

WC_Product_Variable::get_type() public WC 1.0

Get internal type.

{} It's a method of the class: WC_Product_Variable{}

No Hooks.

Return

String.

Usage

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

Code of WC_Product_Variable::get_type() WC 5.6.0

public function get_type() {
	return 'variable';
}