Description
Returns the tax of the given product id or the current product. In the last case this tag must be within The Loop.
Usage
<?php echo tcp_get_the_tax( $post_id ); ?>
Parameters
- $post_id
- (Integer) The ID of the product you’d like to returns its tax value. Defaults to the current product. In this case this tag must be within The Loop.