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