woocommerce_order_status_changed doesn’t fire when I change Order Status from Woocommerce Dashboard

Question

I updated Woocommerce to 4.7.0 and woocommerce_order_status_changed hook doesn’t fire anymore. It has been working before perfectly.

Now when I go to the Dashboard, Woocommerce -> Orders -> Select Order -> Change Status (dropdown) -> Save.
The hook doesn’t fire / run the necessary function at all.

We have many custom statuses, so we need to handle these from code by this hook.

How can I catch the status changes of an order from this version?

0
Peter 2 months 0 Answers 8 views 0

Leave an answer