Answers for "get category of product woocommerce"

PHP
0

woocommerce get post terms product

$term_obj_list = get_the_terms( $post->ID, 'taxonomy' );
$terms_string = join(', ', wp_list_pluck($term_obj_list, 'name'));
Posted by: Guest on November-18-2020

Code answers related to "get category of product woocommerce"

Browse Popular Code Answers by Language