woocommerce_get_order_id_by_order_key()WC 1.0

Deprecated since 3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

No Hooks.

Returns

null. Nothing (null).

Usage

woocommerce_get_order_id_by_order_key( $order_key );
$order_key(required)
.

Changelog

Deprecated since 3.0

woocommerce_get_order_id_by_order_key() code WC 9.9.5

function woocommerce_get_order_id_by_order_key( $order_key ) {
	wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_order_id_by_order_key' );
	return wc_get_order_id_by_order_key( $order_key );
}