WordPress at Your Fingertips
function is not described

WC_Product_Variation::get_parent_data() public WC 3.0.0

Get the parent data array for this variation.

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

No Hooks.

Return

Array.

Usage

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

Changelog

Since 3.0.0 Introduced.

Code of WC_Product_Variation::get_parent_data() WC 5.6.0

public function get_parent_data() {
	return $this->parent_data;
}