You've already forked wc-licensed-product
Add dashboard widget and auto-expire license cron (v0.3.5)
- Add admin dashboard widget with license statistics - Add daily wp-cron to auto-expire licenses past expiration date - Add LicenseExpiredEmail notification for expired licenses - Add getExpiredActiveLicenses() and autoExpireLicense() to LicenseManager Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
12
CHANGELOG.md
12
CHANGELOG.md
@@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [0.3.5] - 2026-01-23
|
||||
|
||||
### Added
|
||||
|
||||
- Admin dashboard widget showing license statistics on WordPress dashboard
|
||||
- Automatic license expiration via daily wp-cron job
|
||||
- License expired email notification sent when license auto-expires
|
||||
- New `LicenseExpiredEmail` WooCommerce email class (configurable via WooCommerce > Settings > Emails)
|
||||
|
||||
### Changed
|
||||
|
||||
- Improved download list layout in customer account licenses page
|
||||
@@ -17,6 +24,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Technical Details
|
||||
|
||||
- New `DashboardWidgetController` class in `src/Admin/` for WordPress dashboard widget
|
||||
- Widget displays: total licenses, active, expiring soon, expired counts, status breakdown, license types
|
||||
- New `LicenseExpiredEmail` class in `src/Email/` for expired license notifications
|
||||
- Added `getExpiredActiveLicenses()` and `autoExpireLicense()` methods to `LicenseManager`
|
||||
- Daily cron now auto-expires licenses with past expiration date and sends notification emails
|
||||
- Updated `templates/frontend/licenses.html.twig` with new two-row structure
|
||||
- Added `.download-item`, `.download-row-file`, `.download-row-meta` CSS classes
|
||||
- Improved responsive behavior for download metadata
|
||||
|
||||
Reference in New Issue
Block a user