Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_price_suffix( WC_Product $product, string $price = '', integer $qty = 1 )
Get the price suffix from WooCommerce method.
Contents
Parameters
- $product
-
(WC_Product) (Required) the WooCommerce product.
- $price
-
(string) (Optional) to calculate, left blank to just use get_price().
Default value: ''
- $qty
-
(integer) (Optional) passed on to get_price_including_tax() or get_price_excluding_tax().
Default value: 1
Return
(string)
Source
File: src/Tribe/Commerce/WooCommerce/Main.php
public function get_price_suffix( $product, $price = '', $qty = 1 ) {
return $product->get_price_suffix( $price, $qty );
}
Changelog
| Version | Description |
|---|---|
| 4.12.0 | Introduced. |