eventorganiser_format_price
(filter)
Pro
Filters the formatted price.
A formatted price will have either no, or 2 decimal places and may or
not may not have a currency symbol
Parameters
string
|
$formated_price |
The formatted price
|
float
|
$price |
The value to be formatted
|
bool
|
$currency |
True if a currency symbol should be included. False otherwise.
|
Example Usage
add_filter( 'eventorganiser_format_price', 'my_callback_function', 10, 3 );
function my_callback_function( $formated_price, $price, $currency ){
//Change first value and return it
return $formated_price
};