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.
![image](https://private-user-images.githubusercontent.com/13076544/296507808-d5585ac7-4644-490c-a6d3-39bdb536cc4d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2Nzg1NzYsIm5iZiI6MTczOTY3ODI3NiwicGF0aCI6Ii8xMzA3NjU0NC8yOTY1MDc4MDgtZDU1ODVhYzctNDY0NC00OTBjLWE2ZDMtMzliZGI1MzZjYzRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAzNTc1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwOGRhN2ZiNWExN2QxYjViYWY4NDc0ZTRlMjM3MTc0YTA4MGM5ZWJjZjk4MGJlMzk1Zjk3NjI0YThkNDA2MGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vnx-u4Dw5Gvj26ICwecJfIcvf1eV8wkdZ6doUq1AIRY)
- 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.