该插件尚未通过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

常见问题

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 😉