order-simulator-woocommerce icon indicating copy to clipboard operation
order-simulator-woocommerce copied to clipboard

Correct arguments for `woocommerce_checkout_order_processed`

Open dakota opened this issue 5 months ago • 0 comments

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.

dakota avatar Sep 11 '24 07:09 dakota