WP Currencies is a WordPress plugin that imports and periodically updates a complete set of World currencies and their exchange rates from openexchangerates.org to WordPress database for later retrieval and use.
This plugin is intended for WordPress backend and frontend developers who want to build with currency data from within WordPress.
- Pulls currency exchange rates from openexchangerates.org
- Imports rates and currency data into a local database table
- Periodically and automatically updates currency rates by set cron intervals
- Packed with a handy PHP functions library to retrieve currency data and exchange rates or perform currency conversions on the fly via PHP or Ajax
- Registers new JSON REST API routes for currency data and exchange
- Adds a Currency Field to Advanced Custom Fields plugin, if installed
- Provides Shortcodes to print currency data or conversion rates from a WordPress post or page
- Comes complete with action and filter hooks for extensions and customisations
- If you use WooCommerce and WPML WooCommerce Multilingual, you can use WCML hooks with WP Currencies functions to change currency rates on the fly (this plugin can help you with multicurrency on other carts too)
- WordPress >= 4.4
- PHP >= 5.4
- MySQL >= 5.5
- A valid API key for openexchangerates.org
If you find this plugin useful you're welcome to contribute by issuing bug reports, cloning this repo and submitting pull requests. Thank you.