WC_Order_Item_Shipping::get_tax_class( string $context = 'view' )

Get tax class.


Description Description


Parameters Parameters

$context

(Optional) View or edit context.

Default value: 'view'


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/class-wc-order-item-shipping.php

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

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.