這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

EDD Mark As Addon

描述

This is a plugin built specifically for developers that use Easy Digital Downloads to sell add-ons for freemium WordPress plugins.

It’s often the case that freemium plugins have an “add-ons” page within the wp-admin panel that shows a list of all add-ons available for a plugin. In most cases the list is retrieved from an RSS or json feed.

EDD Mark As Addon provides an easy way to mark EDD products as “add-ons” and exposes all of them through a new route within the WordPress REST API without the need to manually code the feed.

Once installed, all products marked as add-ons are available through the wp-json/wp/v2/edd-addons route.

Example:
http://example.com/wp-json/wp/v2/edd-addons

Some info for developers

  • All add-ons are cached into the wp_edd_addons_api_cached transient. The transient is deleted each time a download is updated or created.
  • You can modify the query $args for the REST API through the filter wp_edd_addons_api_query.

安裝

  • Install the plugin like any other WP plugin.
  • Create or edit a download and enable the option “Mark download as add-on and expose in rest api.”.

All products marked as add-ons are available through the wp-json/wp/v2/edd-addons route.

Example:
http://example.com/wp-json/wp/v2/edd-addons

常見問題

None yet.

Installation Instructions
  • Install the plugin like any other WP plugin.
  • Create or edit a download and enable the option “Mark download as add-on and expose in rest api.”.

All products marked as add-ons are available through the wp-json/wp/v2/edd-addons route.

Example:
http://example.com/wp-json/wp/v2/edd-addons

評價

There are no reviews for this plugin.

貢獻者及開發者

“EDD Mark As Addon” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 EDD Mark As Addon 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.0

Just released 😉