Since some WooCommerce updates apparently the WooCommerce Product Attribute Taxonomies aren't listed as normal taxonomies anymore.
The database table wp_woocommerce_attribute_taxonomies
contains the product taxonomy names, that are also listed as product properties.
$attrName = 'floor';
$taxonomyName = wc_attribute_taxonomy_name( $attrName );
var_dump(taxonomy_exists( $taxonomyName ));
=> false
In prior WooCommerce versions this worked just fine, taxonomy_exists
returned true
.
The global $wp_taxonomies;
doesn't contain the WooCommerce Product Attributes anymore, too.