Function wc_get_product_terms

Wrapper for wp_get_post_terms which supports ordering by parent.

NOTE: At this point in time, ordering by menu_order for example isn't possible with this function. wp_get_post_terms has no filters which we can utilise to modify it's query. https://core.trac.wordpress.org/ticket/19094

Package: WooCommerce\Functions
Author: WooThemes
Located at includes/wc-term-functions.php

Parameters summary

integer $product_id
string $taxonomy
array $args = array()

Return value summary

array
WooCommerce API documentation generated by ApiGen 2.8.0