LLMS_Admin_Tool_Recurring_Payment_Rescheduler::handle()
Schedules payments and expiration for an order
Description Description
Retrieves orders from the get_orders()
method and schedules a recurring payment and expiration action based on its existing calculated order data.
Return Return
(int[]) Returns an array of WP_Post IDs for orders successfully rescheduled by the method.
Source Source
File: includes/admin/tools/class-llms-admin-tool-recurring-payment-rescheduler.php
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Set plan_ended metadata for orders with an ended plan and don't attempt to process them. |
4.6.0 | Introduced. |