Automattic\WooCommerce\Internal\Admin\Schedulers
OrdersScheduler::get_scheduler_actions
Get all available scheduling actions. Extends parent to add the new batch processor action.
Method of the class: OrdersScheduler{}
No Hooks.
Returns
Array.
Usage
$result = OrdersScheduler::get_scheduler_actions();
OrdersScheduler::get_scheduler_actions() OrdersScheduler::get scheduler actions code WC 10.5.0
public static function get_scheduler_actions() {
return array_merge(
parent::get_scheduler_actions(),
array(
self::PROCESS_PENDING_ORDERS_BATCH_ACTION => 'wc-admin_process_pending_orders_batch',
)
);
}