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.


Top ↑

Return Return

(WC_Data|bool)


Top ↑

Source Source

File: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php



Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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