WC_Product_Variation::get_type()publicWC 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 6.5.1

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