このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの 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

FAQ

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

評価

このプラグインにはレビューがありません。

貢献者と開発者

EDD Mark As Addon はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“EDD Mark As Addon” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.0

Just released 😉