WC_Shipping_Rate::set_taxes( array $taxes )
Set rate taxes.
Description Description
Parameters Parameters
- $taxes
-
(Required) List of taxes applied to shipping rate.
Source Source
File: includes/class-wc-shipping-rate.php
public function set_taxes( $taxes ) {
$this->data['taxes'] = ! empty( $taxes ) && is_array( $taxes ) ? $taxes : array();
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.2.0 | Introduced. |