WordPress at Your Fingertips
function is not described

WC_Product_Attribute::get_variation() public WC 1.0

Get if variation.

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

No Hooks.

Return

true|false.

Usage

$WC_Product_Attribute = new WC_Product_Attribute();
$WC_Product_Attribute->get_variation();

Code of WC_Product_Attribute::get_variation() WC 5.7.1

public function get_variation() {
	return $this->data['variation'];
}