LLMS_Controller_Orders::pending_cancel_order( LLMS_Order $order )
Unschedule recurring payments and schedule access expiration.
Parameters Parameters
- $order
-
(LLMS_Order) (Required) LLMS_Order object.
Return Return
(void)
Source Source
File: includes/controllers/class.llms.controller.orders.php
$new_order_status, $status ); llms_unenroll_student( $order->get( 'user_id' ), $order->get( 'product_id' ), $status, 'order_' . $order->get( 'id' ) ); $order->add_note( $note ); if ( $unschedule_recurring_payment ) { $order->unschedule_recurring_payment();
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.19.0 | Introduced. |