Skip to main content
4 events
when toggle format what by license comment
May 8, 2020 at 13:04 comment added Peter Højlund Andersen This returns a WC_Product_Attribute. So the correct answer to this question is to write (after your code): $pa_color->get_slugs() And if you want the first slug - as you normally would: $pa_color->get_slugs()[0].
Sep 21, 2018 at 13:42 vote accept Abhilesh Sharma
Jul 15, 2018 at 18:01 review Low quality posts
Jul 15, 2018 at 18:03
Jul 15, 2018 at 17:41 history answered Abhilesh Sharma CC BY-SA 4.0