WordPress at Your Fingertips
function is not described

WC_Order_Item_Tax::set_rate_code() public WC 1.0

Set item name.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Order_Item_Tax = new WC_Order_Item_Tax();
$WC_Order_Item_Tax->set_rate_code( $value );
$value(string) (required)
Rate code.

Code of WC_Order_Item_Tax::set_rate_code() WC 5.6.0

public function set_rate_code( $value ) {
	$this->set_prop( 'rate_code', wc_clean( $value ) );
}