Controller::get_order_number( int $order_id )

Get the order number for an order. If no filter is present for woocommerce_order_number, we can just return the ID.


Description Description

Returns the parent order number if the order is actually a refund.


Parameters Parameters

$order_id

(Required) Order ID.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: packages/woocommerce-admin/src/API/Reports/Controller.php




Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.