autoship_update_scheduled_order_{$action}_handler_call_back (filter)

( src/scheduled-orders.php) Within the autoship_update_scheduled_order_handler() function and is a dynamic filter that can be used to modify the name of the callback function for handling the different actions available in the Native UI Scheduled Order template. The filter passes the original callback function name, the Scheduled Order Id ($order_id), the name of the action being performed ($action), and the original array of data being passed to the action ($data) handler as its parameters.


$method = apply_filters( 'autoship_update_scheduled_order_' . $action . '_handler_call_back', $action . '_action_handler', $order_id, $action , $data );