LLMS_Order::has_sale()
Determine if the access plan was on sale during the purchase
Return Return
(boolean)
Source Source
File: includes/models/model.llms.order.php
public function has_sale() {
return ( 'yes' === $this->get( 'on_sale' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |