WordPress at Your Fingertips
function is not described

WC_Product_Attribute::get_taxonomy_object() public WC 1.0

Get taxonomy object.

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

No Hooks.

Return

Array|null.

Usage

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

Code of WC_Product_Attribute::get_taxonomy_object() WC 5.6.0

public function get_taxonomy_object() {
	global $wc_product_attributes;
	return $this->is_taxonomy() ? $wc_product_attributes[ $this->get_name() ] : null;
}