This is an Easy Digital Downloads addon which allows you to link to previous versions of a plugin, based on tagged git releases.
It requires the EDD Git Download Updater plugin.
- When a version download link is clicked, the plugin will first check your EDD uploads folder to see if a matching file already exists
- If not, it will connect to either Bitbucket or GitHub (depending on your configuration) and download the tagged .zip file to the uploads directory
- The .zip file will be served to the user via a secure EDD download link
The shortcode is [edd_version_history]
. It accepts the following parameters:
download_id
: (required) The download IDlimit
: The number of tags to show (default10
)include_current
: Whether or not to include the current plugin version in the list. Defaultfalse
download_purchase_id
: By default we check to see if the customer has purchased thedownload_id
, you can override that here (for example in case of addons or bundles)
- Display the file dates alongside the version numbers
- Initial release
-
Download the latest tagged release.
-
Navigate to Plugins » Add New in the WordPress admin and upload the file.
-
Activate the plugin.
-
Add the shortcode to a page, following the instructions above.