WC_Order_Data_Store_Interface::get_recorded_coupon_usage_counts()
Gets information about whether coupon counts were updated.
Method of the class: WC_Order_Data_Store_Interface{}
No Hooks.
Return
true|false
.
Usage
$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface(); $WC_Order_Data_Store_Interface->get_recorded_coupon_usage_counts( $order );
- $order(WC_Order) (required)
- Order object.
WC_Order_Data_Store_Interface::get_recorded_coupon_usage_counts() WC Order Data Store Interface::get recorded coupon usage counts code WC 9.8.2
public function get_recorded_coupon_usage_counts( $order );