Description

Retrieves a currency symbol as set in the options or, if the price is given, formats the price including currency symbol.

Usage

em_get_currency_symbol($price)

Parameters

  • $post_id | int – event (post) ID. (optional)

Return

If the price parameter is not given, returns the currency symbol or the currency code (if the symbol was not set in options). If the price parameter is given and is numeric function returns a formated price, including the currency symbol or the currency code (if the symbol was not set in options).