WC_REST_Orders_V1_Controller::item_is_null( array $item )
Helper method to check if the resource ID associated with the provided item is null.
Description Description
Items can be deleted by setting the resource ID to null.
Parameters Parameters
- $item
-
(Required) Item provided in the request body.
Return Return
(bool) True if the item resource ID is null, false otherwise.
Source Source
File: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php