WordPress at Your Fingertips
function is not described

WC_Product::is_shipping_taxable() public WC 1.0

Returns whether or not the product shipping is taxable.

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

No Hooks.

Return

true|false.

Usage

$WC_Product = new WC_Product();
$WC_Product->is_shipping_taxable();

Code of WC_Product::is_shipping_taxable() WC 5.5.2

<?php
public function is_shipping_taxable() {
	return $this->needs_shipping() && ( $this->get_tax_status() === 'taxable' || $this->get_tax_status() === 'shipping' );
}