Function wc_get_order_id_by_order_key
Finds an Order ID based on an order key.
Parameters summary
string |
$order_key |
An order key has generated by |
Return value summary
integer
|
The ID of an order, or 0 if the order could not be found |