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).

No replies yet

Be first to start the conversation.

Leave a Reply

Please, do not use this form for technical support. To get support for our plugins, use the support forum.

Your email address will not be published. Required fields are marked *