Abstract_WC_Order_Data_Store_CPT::get_order_key()
Get order key.
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. |
Abstract_WC_Order_Data_Store_CPT::get_order_key() Abstract WC Order Data Store CPT::get order key code WC 9.4.2
protected function get_order_key( $order ) { return wc_generate_order_key(); }