WC_Shipping_Rate::set_taxes( array $taxes )

Set rate taxes.


Description Description


Parameters Parameters

$taxes

(Required) List of taxes applied to shipping rate.


Top ↑

Source Source

File: includes/class-wc-shipping-rate.php

	public function set_taxes( $taxes ) {
		$this->data['taxes'] = ! empty( $taxes ) && is_array( $taxes ) ? $taxes : array();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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