DriveVault for Easy Digital Downloads allows store owners to effortlessly attach files stored on Google Drive directly to Easy Digital Downloads digital products.
Built with a fast, modern React user interface powered by WordPress core packages (@wordpress/components, @wordpress/data, @wordpress/api-fetch), you can browse folders, search files, and insert download links directly inside the Easy Digital Downloads download editor.
This plugin connects to external 3rd-party services provided by Google to enable Google Drive integration for Easy Digital Downloads digital products.
https://oauth2.googleapis.com/token) to exchange for API access/refresh tokens.https://www.googleapis.com/oauth2/v2/userinfo to display the connected account in the admin dashboard.https://oauth2.googleapis.com/revoke to invalidate tokens.https://www.googleapis.com/drive/v3/files.assets/fonts/drivevault-icon.woff2The unminified React and SCSS source code for the admin dashboard and product file picker is open source and publicly hosted on GitHub:
To compile production assets:
1. Ensure Node.js (v18+) and npm are installed.
2. Run npm install
3. Run npm run build to generate production assets in assets/build/.