LLMS_Coupon::has_main_discount()
Determine if the main (non-trial) price is discounted by this coupon
Contents
Return Return
(bool)
Source Source
File: includes/models/model.llms.coupon.php
public function has_main_discount() { return ( $this->get( 'coupon_amount' ) > 0 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.21.1 | Introduced. |