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.


Top ↑

Return Return

(bool) True if the item resource ID is null, false otherwise.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php


			


Top ↑

User Contributed Notes User Contributed Notes

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