WordPress at Your Fingertips
function is not described

Abstract_WC_Order_Data_Store_CPT::get_order_key() protected WC 4.3.0

Get order key.

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

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_order_key( $order );
$order(WC_order) (required)
Order object.

Changelog

Since 4.3.0 Introduced.

Code of Abstract_WC_Order_Data_Store_CPT::get_order_key() WC 5.7.0

protected function get_order_key( $order ) {
	return wc_generate_order_key();
}