wc_get_attribute_taxonomy_names()
Get an array of product attribute taxonomies.
Description Description
Return Return
(array)
Source Source
File: includes/wc-attribute-functions.php
function wc_get_attribute_taxonomy_names() { $taxonomy_names = array(); $attribute_taxonomies = wc_get_attribute_taxonomies(); if ( ! empty( $attribute_taxonomies ) ) { foreach ( $attribute_taxonomies as $tax ) { $taxonomy_names[] = wc_attribute_taxonomy_name( $tax->attribute_name ); } } return $taxonomy_names; }