LLMS_Admin_Tool_Recurring_Payment_Rescheduler::get_orders()
Retrieve a list of orders
Return Return
(int[])
Source Source
File: includes/admin/tools/class-llms-admin-tool-recurring-payment-rescheduler.php
protected function get_orders() {
$orders = wp_cache_get( $this->id, 'llms_tool_data' );
if ( ! $orders ) {
$orders = wp_list_pluck( $this->query_orders(), 'ID' );
wp_cache_set( $this->id, $orders, 'llms_tool_data' );
}
return $orders;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |