WC_Product_Attribute::get_taxonomy()publicWC 1.0

Get taxonomy name if applicable.

Method of the class: WC_Product_Attribute{}

No Hooks.

Return

String.

Usage

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

WC_Product_Attribute::get_taxonomy() code WC 8.7.0

public function get_taxonomy() {
	return $this->is_taxonomy() ? $this->get_name() : '';
}