LLMS_Order::has_plan_expiration()
Determine if a recurring order has a limited number of payments
Return Return
(boolean) Returns true
for recurring orders with a billing length and false
otherwise.
Source Source
File: includes/models/model.llms.order.php
public function has_plan_expiration() { return ( $this->is_recurring() && ( $this->get( 'billing_length' ) > 0 ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |