Warning: This method has been deprecated. – Replaced with better named method to reflect the actual data being returned instead.
WC_Abstract_Legacy_Order::get_used_coupons()
Get coupon codes only.
Description Description
Return Return
(array)
Source Source
File: includes/legacy/abstract-wc-legacy-order.php
public function get_used_coupons() { wc_deprecated_function( 'get_used_coupons', '3.7', 'WC_Abstract_Order::get_coupon_codes' ); return $this->get_coupon_codes(); }
Changelog Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |