WC_Shipping_Rate::get_taxes
Get rate taxes.
Method of the class: WC_Shipping_Rate{}
Hooks from the method
Returns
Array.
Usage
$WC_Shipping_Rate = new WC_Shipping_Rate(); $WC_Shipping_Rate->get_taxes();
Changelog
| Since 3.2.0 | Introduced. |
WC_Shipping_Rate::get_taxes() WC Shipping Rate::get taxes code WC 10.4.3
public function get_taxes() {
/**
* Filter the shipping rate taxes.
*
* @since 3.2.0
* @param array $taxes The shipping rate taxes.
* @param WC_Shipping_Rate $this The shipping rate object.
*/
return apply_filters( 'woocommerce_shipping_rate_taxes', $this->data['taxes'], $this );
}