WordPress at a glance
function is not described

WC_Order_Data_Store_Interface::get_order_id_by_order_key() public WC 1.0

Finds an Order ID based on an order key.

{} It's a method of the class: WC_Order_Data_Store_Interface{}

No Hooks.

Return

Int. The ID of an order, or 0 if the order could not be found.

Usage

$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface();
$WC_Order_Data_Store_Interface->get_order_id_by_order_key( $order_key );
$order_key(string) (required)
An order key has generated by.

Code of WC_Order_Data_Store_Interface::get_order_id_by_order_key() WC 5.0.0

<?php
public function get_order_id_by_order_key( $order_key );