order-simulator-woocommerce
order-simulator-woocommerce copied to clipboard
Correct arguments for `woocommerce_checkout_order_processed`
The woocommerce_checkout_order_processed
hook requires three arguments ($order_id
, $data
and $order
), but only two were being passed. This adds the $order
argument to it, which prevents fatal errors on other extensions that make use of the hook.