Retrieving product attributes using WooCommerce APIs value is empty

前端 未结 0 881
清歌不尽
清歌不尽 2021-01-04 00:22

I\'m trying to retrieve the product attributes of a WooCommerce product using this:

$m = get_post_meta($pid, \'_product_attributes\', false);

相关标签:
回答
  • 消灭零回复
提交回复
热议问题