CartItemSchema::get_item_response( array $cart_item )
Convert a WooCommerce cart item to an object suitable for the response.
Description Description
Parameters Parameters
- $cart_item
-
(Required) Cart item array.
Return Return
(array)
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Schemas/CartItemSchema.php