woocommerce_order_status_changed doesn’t fire when I change Order Status from Woocommerce Dashboard
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?