trigger function when admin updates order status woocommerce


Staff member
I created a function to insert custom data into a table and now I am wondering if there is any possibility or any hook available when admin updates the order status or order status is changed or updated automatically I need to run a query then is there any possibility available in wordpress