WordPress at Your Fingertips
function is not described

woocommerce_get_product_terms() WC 1.0

Deprecated from version 3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

No Hooks.


null. Nothing.


woocommerce_get_product_terms( $object_id, $taxonomy, $fields );
$object_id (required)
$taxonomy (required)
$fields **
Default: 'all'


Deprecated 3.0

Code of woocommerce_get_product_terms() WC 6.1.0

function woocommerce_get_product_terms( $object_id, $taxonomy, $fields = 'all' ) {
	wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_product_terms' );
	return wc_get_product_terms( $object_id, $taxonomy, array( 'fields' => $fields ) );