skip to Main Content

Get WooCommerce Product Attribute label name

Variable/variations in woocommerce products. I can do this to get the attribute value from pa_size: <?php echo $product_variation->get_attributes()['pa_size']; ?> which is somewhere in /wp-admin/edit.php?post_type=product&page=product_attributes. But how do I get the pa_size label (in this case: 'Size')? Have tried to fetch…

VIEW QUESTION
Back To Top
Search