LLMS_Order::has_discount()
Determine if there was a discount applied to this order via either a sale or a coupon
Return Return
(boolean)
Source Source
File: includes/models/model.llms.order.php
public function has_discount() {
return ( $this->has_coupon() || $this->has_sale() );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |