WC_Coupon::set_maximum_amount( float $amount )

Set the maximum spend amount.


Description Description


Parameters Parameters

$amount

(Required) Maximum amount.


Top ↑

Source Source

File: includes/class-wc-coupon.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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