CartShippingRateSchema::prepare_package_items_response( array $package )

Gets items from a package and creates an array of strings containing product names and quantities.


Description Description


Parameters Parameters

$package

(Required) Shipping package complete with rates from WooCommerce.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php


			


Top ↑

User Contributed Notes User Contributed Notes

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