ProductSchema::get_price_range( WC_Product $product, string $tax_display_mode = '' )
Get price range from certain product types.
Description Description
Parameters Parameters
- $product
-
(Required) Product instance.
- $tax_display_mode
-
(Optional) If returned prices are incl or excl of tax.
Default value: ''
Return Return
(object|null)
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Schemas/ProductSchema.php