WC_Order::get_order_number()
Gets the order number for display (by default, order ID).
Method of the class: WC_Order{}
Hooks from the method
Return
String
.
Usage
$WC_Order = new WC_Order(); $WC_Order->get_order_number();
WC_Order::get_order_number() WC Order::get order number code WC 9.4.2
public function get_order_number() { return (string) apply_filters( 'woocommerce_order_number', $this->get_id(), $this ); }