autoship_update_scheduled_order_handler_call_back_data (filter)

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

Code

$data = apply_filters( 'autoship_update_scheduled_order_handler_call_back_data', $data, $order_id, $action );

Still need help? Contact Us Contact Us