WC_REST_Orders_V2_Controller::get_object( int $id )
Get object. Return false if object is not of required type.
Description Description
Parameters Parameters
- $id
-
(Required) Object ID.
Return Return
(WC_Data|bool)
Source Source
File: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |