CartShippingRateSchema::prepare_package_shipping_rates_response( array $package )

Prepare an array of rates from a package for the response.


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.