WordPress at Your Fingertips
function is not described

WC_Product_Variation::get_type() public WC 1.0

Get internal type.

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

No Hooks.

Return

String.

Usage

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

Code of WC_Product_Variation::get_type() WC 5.6.0

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