WC_Product_Attribute::is_taxonomy
Return if this attribute is a taxonomy.
Method of the class: WC_Product_Attribute{}
No Hooks.
Returns
true|false.
Usage
$WC_Product_Attribute = new WC_Product_Attribute(); $WC_Product_Attribute->is_taxonomy();
WC_Product_Attribute::is_taxonomy() WC Product Attribute::is taxonomy code WC 10.5.0
public function is_taxonomy() {
return 0 < $this->get_id();
}