WordPress at a glance
function is not described

wc_get_tax_class_by_tax_id() WC 2.2

Get tax class by tax id.

No Hooks.

Return

String. Nothing.

Usage

wc_get_tax_class_by_tax_id( $tax_id );
$tax_id(int) (required)
Tax ID.

Changelog

Since 2.2 Introduced.

Code of wc_get_tax_class_by_tax_id() WC 5.3.0

<?php
function wc_get_tax_class_by_tax_id( $tax_id ) {
	global $wpdb;
	return $wpdb->get_var( $wpdb->prepare( "SELECT tax_rate_class FROM {$wpdb->prefix}woocommerce_tax_rates WHERE tax_rate_id = %d", $tax_id ) );
}