WC_Product_Attribute::get_taxonomy
Get taxonomy name if applicable.
Method of the class: WC_Product_Attribute{}
No Hooks.
Returns
String.
Usage
$WC_Product_Attribute = new WC_Product_Attribute(); $WC_Product_Attribute->get_taxonomy();
WC_Product_Attribute::get_taxonomy() WC Product Attribute::get taxonomy code WC 10.5.0
public function get_taxonomy() {
return $this->is_taxonomy() ? $this->get_name() : '';
}