ProductSchema::get_price_function_from_tax_display_mode( string $tax_display_mode )

WooCommerce can return prices including or excluding tax; choose the correct method based on tax display mode.


Description Description


Parameters Parameters

$tax_display_mode

(Required) If returned prices are incl or excl of tax.


Top ↑

Return Return

(string) Function name.


Top ↑

Source Source

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


			


Top ↑

User Contributed Notes User Contributed Notes

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