Money92 Forex Widgets

外掛說明

Money92 Forex Widgets provides two tools:

1) Forex Rates Table
Displays PKR exchange rates for multiple currencies with buying/selling spread applied.

2) Currency Calculator
Converts any supported currency into PKR using mid-market, buying, or selling rates.

Shortcodes

  • [m92fw_forex_widget] – Display Forex Rates Table
  • [m92fw_currency_calculator] – Display PKR Currency Calculator

External services

This plugin relies on a third-party exchange-rate service to display PKR forex rates and power the included currency calculator.

1) Exchange-rate JSON service

The plugin requests exchange-rate data from:

  • https://latest.currency-api.pages.dev/v1/currencies/pkr.json

What the service is used for:

  • It provides the latest PKR-based exchange-rate JSON needed to build the forex table and currency calculator results.

What data is sent and when:

  • A request is made only when one of the plugin shortcodes is used and the cached rates are missing or expired.
  • The request is sent from your server using the WordPress HTTP API.
  • The remote service receives the requested endpoint URL, your server IP address (as part of the normal HTTPS request), and standard HTTP headers including a User-Agent string containing the plugin name/version and WordPress version.
  • No visitor-entered form values, user accounts, or other personal data are intentionally sent by the plugin.

Caching:

  • Rates are cached using WordPress transients for 6 hours by default to reduce external requests.

Service / project links:

  • Project source: https://github.com/fawazahmed0/exchange-api
  • Cloudflare Terms of Use: https://www.cloudflare.com/website-terms/
  • Cloudflare Privacy Policy: https://www.cloudflare.com/privacypolicy/

Developer hooks:

  • m92fw_rates_endpoints (array of URLs)
  • m92fw_rates_cache_ttl (seconds)

Usage

Forex Rates Table

[m92fw_forex_widget]

Currency Calculator

[m92fw_currency_calculator]

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/money92-forex-widgets/.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Insert the shortcode into any page or post.

常見問題集

Does this plugin use any paid API?

No. It uses a free, public exchange-rate API.

Does it cache results?

Yes. Rates are cached using WordPress transients (default: 6 hours).

Does this plugin send any personal data to external servers?

The plugin does not intentionally send visitor-entered personal data. When cached rates are missing or expired, your server makes a request to the external exchange-rate service, which can receive your server IP address and standard HTTP headers as part of the normal HTTPS request.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Money92 Forex Widgets〉的開發相關工作。

參與者

將〈Money92 Forex Widgets〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.3

  • Improved external service disclosure in the readme with service purpose, transmitted data, and policy links
  • Reduced data sent in remote requests by removing the site URL from the User-Agent header

1.1.0

  • Fixed WordPress.org review issues: enqueue scripts/styles correctly (no inline / tags)
  • Added REST endpoint + server-side fetching with caching
  • Updated shortcode names to use a unique prefix

1.0

  • Initial release