WC_Order_Item_Shipping::set_tax_status()
Deprecated from version 9.7.0 order shipping lines don't support setting tax status, hook into the shipping method instead.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Set tax_status.
Method of the class: WC_Order_Item_Shipping{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Order_Item_Shipping = new WC_Order_Item_Shipping(); $WC_Order_Item_Shipping->set_tax_status( $value );
- $value(string) (required)
- Tax status.
Changelog
Deprecated since 9.7.0 | order shipping lines don't support setting tax status, hook into the shipping method instead. |
WC_Order_Item_Shipping::set_tax_status() WC Order Item Shipping::set tax status code WC 9.7.1
public function set_tax_status( $value ) { }