WC_Abstract_Order::get_coupons()
Return an array of coupons within this order.
Description Description
Return Return
Source Source
File: includes/abstracts/abstract-wc-order.php
public function get_coupons() {
return $this->get_items( 'coupon' );
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.7.0 | Introduced. |