I need to get attribute from woocommerce product variation.
$terms = get_post_meta($value['variation_id'], 'attribute_pa_color', true);
This code is giving me an attribute slug instead of name. How can I get attribute name?
Thank you so much in advance!