sfw_format_price

Description

Format price respecting its currency settings

Since: 1.0.0

Code

<?php function sfw_format_price( $priceobj ){ 
	 … 
 } ?>

Parameter

$priceobj
(object) A spreadshirt price object

Return

(string) formatted price

File

core/components/functions-price.php