WC_Abstract_Order::get_coupons()

Return an array of coupons within this order.


Description Description


Return Return

(WC_Order_Item_Coupon[])


Top ↑

Source Source

File: includes/abstracts/abstract-wc-order.php

	public function get_coupons() {
		return $this->get_items( 'coupon' );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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