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.

Return

null. Nothing (null).

Usage

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

Changelog

Deprecated since 3.0

woocommerce_get_product_terms() code WC 8.6.1

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 ) );
}