APP_Currencies

Helps define currencies, their display preferences, and presenting price and currency information.


Package


Description Description


Top ↑

Methods Methods

  • add_currency — Adds a currency to the list of registered currencies if the currency does not already exist.
  • get_currencies — Returns an array of currently registered currencies.
  • get_currency — Returns a currency's array of information, or a part of the array.
  • get_currency_string — Returns a formatted string of a currency for display purposes.
  • get_currency_string_array — Returns an array of formatted strings for all registered currencies.
  • get_current_currency — Returns information array about the current currency, as specified by the current theme, or part of the array if specified.
  • get_current_display — Returns the formatting string for the current currency.
  • get_current_name — Returns the formal name of the current currency.
  • get_current_symbol — Returns the denotation symbol of the current currency.
  • get_display — Returns a currency's formatting string.
  • get_name — Returns a currency's formal name.
  • get_price — Formats a price according to the formatting string given to a currency.
  • get_symbol — Returns a currency's denotation symbol.
  • init — Initializes the registered currency list.
  • is_valid — Checks if the given currency code is registered.
  • update_currency — Update the currency.
Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.