When I'm looking at a WC_Order object, I can see that it has both an id
as well as an order_key
. I have tried to find out what the order_key
is, but there is almost no documentation about it that I can find. Could anyone explain what it is?
I would also like to know why both that and the id
exists. Is it better to use one over the other in some cases?