WC_Coupon::set_exclude_sale_items( bool $exclude_sale_items )

Set if this coupon should excluded sale items or not.


Description Description


Parameters Parameters

$exclude_sale_items

(Required) If should exclude sale items.


Top ↑

Source Source

File: includes/class-wc-coupon.php

	public function set_exclude_sale_items( $exclude_sale_items ) {
		$this->set_prop( 'exclude_sale_items', (bool) $exclude_sale_items );
	}

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.