woocommerce_order_status_changed добавить действие
add_action('woocommerce_order_status_changed', 'woo_order_status_change_custom', 10, 3);
Cheerful Cod
add_action('woocommerce_order_status_changed', 'woo_order_status_change_custom', 10, 3);