I want to know How to Exclude Certain Category in below code that's on Single Product Page to display category. Where do I add exclude and category Id?
<?php echo $product->get_categories(', ', ' <span class="posted_in">'.__('Category:', 'woocommerce').' ', '</span>'); ?>
also, on products page hooks, how to change order of hooks, like putting tags and category before short description instead of last.