APP_Currencies::get_price( string $number, string $currency_code = '', $identifier = '' )
Formats a price according to the formatting string given to a currency.
Package
Description Description
See also See also
Parameters Parameters
- $number
(string) (Required) Amount of currency to be displayed.
- $currency_code
(string) (Optional) Currency code used to identify currency.
Default value: ''
Return Return
(string) Formatted price