When I try to query my custom product attributes using
get_terms(array(
'taxonomy' => array('pa_kolor'),
'hide_empty' => false
));
It's working just fine. However, when I add any additional taxonomies, for example:
get_terms(array(
'taxonomy' => array('category', 'pa_kolor', 'product_cat'),
'hide_empty' => false
));
It only returns terms from category
and product_cat
taxonomies - ignoring the pa_kolor
.
I don't have any idea what may be causing this behaviour.