WordPress at Your Fingertips
function is not described

WC_Product_Attribute::is_taxonomy() public WC 1.0

Return if this attribute is a taxonomy.

{} 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->is_taxonomy();

Code of WC_Product_Attribute::is_taxonomy() WC 5.7.0

public function is_taxonomy() {
	return 0 < $this->get_id();
}