WordPress at Your Fingertips
function is not described

WC_Order_Item_Shipping::get_tax_class() public WC 1.0

Get tax class.

{} It's a method of the class: WC_Order_Item_Shipping{}

No Hooks.

Return

String.

Usage

$WC_Order_Item_Shipping = new WC_Order_Item_Shipping();
$WC_Order_Item_Shipping->get_tax_class( $context );
$context(string)
View or edit context.
Default: 'view'

Code of WC_Order_Item_Shipping::get_tax_class() WC 5.9.0

public function get_tax_class( $context = 'view' ) {
	return get_option( 'woocommerce_shipping_tax_class' );
}