LLMS_Order::has_scheduled_payment()
Determine if there’s a payment scheduled for the order
Return Return
(boolean)
Source Source
File: includes/models/model.llms.order.php
public function has_scheduled_payment() {
$date = $this->get_next_payment_due_date();
return is_wp_error( $date ) ? false : true;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |