| 开发者 | mihirdev21 |
|---|---|
| 更新时间 | 2026年9月28日 18:23 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[bccalc_currency_converter] shortcode.
borderless-currency-calculator folder to /wp-content/plugins/.[bccalc_currency_converter] shortcode to any page or post.No. The Fawaz Ahmed Currency API does not require an API key for the exchange-rate data used by this plugin.
When a visitor clicks "Convert", the plugin sends a server-side request (via WordPress's wp_remote_get) from your web server to the Fawaz Ahmed Exchange API. Only the base currency code (e.g. "usd") is included in the URL. No visitor personal data, IP addresses, or identifying information are sent by the plugin. The exchange-rate response is then cached using WordPress transients for up to one hour to reduce repeat requests.
The plugin tries the fallback endpoint. If both endpoints fail, the converter displays an error instead of breaking the page. Previously cached rates remain available until their cache expires.
Converted amounts use two decimal places and comma thousands separators, for example 1,000.00. The exchange-rate line uses four decimal places, for example 1 GBP = 1.3383 USD.