WC_Order_Item_Fee::set_total( string $amount )

Set total.


Description Description


Parameters Parameters

$amount

(Required) Fee amount (do not enter negative amounts).


Top ↑

Source Source

File: includes/class-wc-order-item-fee.php

	public function set_total( $amount ) {
		$this->set_prop( 'total', wc_format_decimal( $amount ) );
	}


Top ↑

User Contributed Notes User Contributed Notes

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